|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmesquite.lib.Listened
mesquite.lib.Attachable
mesquite.lib.Associable
mesquite.lib.AssociableWithSpecs
mesquite.lib.FileElement
mesquite.lib.SpecsSet
mesquite.lib.BitsSpecsSet
public abstract class BitsSpecsSet
A specset with bit information.
| Field Summary |
|---|
| Fields inherited from class mesquite.lib.SpecsSet |
|---|
totalCreated |
| Fields inherited from class mesquite.lib.FileElement |
|---|
assignedIDNumber, assignedIDString, classesCreated, classesFinalized, countsOfClasses, countsOfClassesDisposed, DIRTY, disposed, doomed, IN_USE, name, OK, totalDisposed, totalFinalized |
| Fields inherited from class mesquite.lib.AssociableWithSpecs |
|---|
SPECSSET_CHANGED |
| Fields inherited from class mesquite.lib.Associable |
|---|
comment, comments, numParts, rememberDefaultOrder, selected, versionNumber |
| Fields inherited from class mesquite.lib.Listened |
|---|
allListeners, classes, classesNotified, listeners, listenersRemaining, notifications |
| Fields inherited from interface mesquite.lib.HNode |
|---|
MOUSEDOWN, MOUSEEXIT, MOUSEMOVE |
| Fields inherited from interface mesquite.lib.HTMLDescribable |
|---|
verbose |
| Constructor Summary | |
|---|---|
BitsSpecsSet(java.lang.String name,
int numParts)
|
|
| Method Summary | |
|---|---|
boolean |
addParts(int starting,
int num)
Add num parts just after "starting" (filling with default values) |
boolean |
anySelected()
Returns if any part are on |
boolean |
deleteParts(int starting,
int num)
Delete num parts from and including "starting" |
void |
deselectAll()
Deselect all part |
void |
equalizeSpecs(SpecsSet other,
int otherPart,
int part)
Sets the value for part "part" to be the same as that at part "otherPart" in the incoming specsSet |
java.lang.String |
getTypeName()
Returns the type of this element (e.g., "Continuous Data Matrix") |
boolean |
isSelected(int ic)
Returns if part ic is on. |
boolean |
moveParts(int starting,
int num,
int justAfter)
Move num parts starting at first, to just after parts justAfter |
int |
numberSelected()
Returns how many are on |
void |
selectAll()
Select all parts |
void |
setSelected(int ic,
boolean select)
Set part ic to either on or not according to boolean |
void |
setSelectedBits(Bits bits)
Set bits of this to be the same as passed bits |
boolean |
swapParts(int first,
int second)
|
java.lang.String |
toString(int ic)
|
| Methods inherited from class mesquite.lib.SpecsSet |
|---|
cloneSpecsSet, getNexusBlockStored, getNumberOfParts, getParent, makeSpecsSet, setChangedFromCloned, setNexusBlockStored, setParent, toHTMLStringDescription |
| Methods inherited from class mesquite.lib.FileElement |
|---|
addToBrowserPopup, addToFile, deleteMe, dispose, doCommand, doom, fileDirtiedByCommand, finalize, getAssignedID, getAssignedIDNumber, getCIPResIDString, getExplanation, getFile, getFileName, getHColor, getHDaughters, getHImage, getHMother, getHShow, getID, getLastModifiedAuthor, getManager, getName, getNexusBlock, getNumSupplements, getProject, getSupplementName, hNodeAction, hSupplementTouched, isDisposed, isDoomed, okToClose, searchData, setAssignedIDNumber, setCIPResIDString, setFile, setManager, setName, setProject, show, showMe, stampLastModifiedAuthor |
| Methods inherited from class mesquite.lib.AssociableWithSpecs |
|---|
disposing, equalizeParts, getCurrentSpecsSet, getNumSpecsSets, getSpecSetsVector, getSpecSetsVectorVector, getSpecsSet, getSpecsSet, listAssociates, prepareSpecsSetVector, removeSpecsSet, setCurrentSpecsSet, storeSpecsSet |
| Methods inherited from class mesquite.lib.Attachable |
|---|
anyAttachments, attach, attachIfUniqueName, detach, getAttachment, getAttachment, getAttachments, listAttachments, readAttachments, setAttachments, writeAttachments |
| Methods inherited from class mesquite.lib.Listened |
|---|
addListener, addListenerHighPriority, amIListening, decrementNotifySuppress, doAfterNotify, getRemainingListeners, incrementNotifySuppress, listListeners, notifyDisposing, notifyListeners, notifyListeners, removeListener, reportListeners, setDumpNotified |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface mesquite.lib.Annotatable |
|---|
getAnnotation, setAnnotation |
| Methods inherited from interface mesquite.lib.Listenable |
|---|
addListener, addListenerHighPriority, amIListening, decrementNotifySuppress, incrementNotifySuppress, listListeners, notifyListeners, removeListener |
| Constructor Detail |
|---|
public BitsSpecsSet(java.lang.String name,
int numParts)
| Method Detail |
|---|
public java.lang.String getTypeName()
FileElement
getTypeName in interface HNodegetTypeName in class SpecsSetpublic java.lang.String toString(int ic)
toString in class SpecsSet
public void equalizeSpecs(SpecsSet other,
int otherPart,
int part)
equalizeSpecs in class SpecsSetpublic boolean isSelected(int ic)
public boolean anySelected()
anySelected in interface SelectionableanySelected in class Associablepublic int numberSelected()
numberSelected in interface SelectionablenumberSelected in class Associablepublic void setSelectedBits(Bits bits)
public void setSelected(int ic,
boolean select)
setSelected in interface SelectionablesetSelected in class Associablepublic void deselectAll()
deselectAll in interface SelectionabledeselectAll in class Associablepublic void selectAll()
selectAll in interface SelectionableselectAll in class Associable
public boolean addParts(int starting,
int num)
addParts in class SpecsSet
public boolean deleteParts(int starting,
int num)
deleteParts in class SpecsSet
public boolean moveParts(int starting,
int num,
int justAfter)
SpecsSet
moveParts in class SpecsSet
public boolean swapParts(int first,
int second)
swapParts in class AssociableWithSpecs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||