|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.virtuosotechnologies.lib.basiccommand.builder.AbstractBuilderNode
com.virtuosotechnologies.lib.basiccommand.builder.AbstractBranchBuilderNode
com.virtuosotechnologies.lib.basiccommand.builder.AbstractContainerElementBuilderNode
A branch builder that creates an element that can contain other elements. Subclasses need to implement getChildNode(), createInitialElement(), and the add/set/removeElements methods.
A lot of this implementation is identical to AbstractElementBuilderNode, but alas, Java lacks multiple implementation inheritance.
| Field Summary |
| Fields inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractBuilderNode |
END_POSITION |
| Fields inherited from interface com.virtuosotechnologies.lib.command.CommandNodeListener |
ALL_CHILDREN_REMOVED_METHOD, CHILD_ADDED_METHOD, CHILD_REMOVED_METHOD |
| Fields inherited from interface com.virtuosotechnologies.lib.container.PropertySetListener |
PROPERTYSET_CHANGED_METHOD |
| Constructor Summary | |
protected |
AbstractContainerElementBuilderNode(CommandNode commandNode,
AbstractBranchBuilderNode parent,
int index)
Constructor implementation |
protected |
AbstractContainerElementBuilderNode(CommandNode commandNode,
AbstractBranchBuilderNode parent,
int index,
Object element)
Constructor implementation |
| Method Summary | |
protected abstract Object |
createInitialElement()
Override this method to create the initial element object. |
protected void |
disabledStateChanged(boolean nowDisabled)
The disabled state has changed. |
protected int |
getCardinality()
Get the cardinality (number of swing objects this node represents). |
protected Object |
getElement()
Get the element |
protected void |
hiddenStateChanged(boolean nowHidden)
The hidden state has changed. |
| Methods inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractBranchBuilderNode |
addElementAt, allChildrenRemoved, buildChildren, childAdded, childRemoved, createChildNode, getChild, getChild, getChildren, getNumChildren, getPosition, getPosition, removeAllElements, removeChildElements, removeElementAt, setElementAt |
| Methods inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractBuilderNode |
decGrayLevel, decMaskLevel, dump, getCommandNode, getParent, incGrayLevel, incMaskLevel, isDisabled, isHidden, propertySetChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected AbstractContainerElementBuilderNode(CommandNode commandNode,
AbstractBranchBuilderNode parent,
int index)
protected AbstractContainerElementBuilderNode(CommandNode commandNode,
AbstractBranchBuilderNode parent,
int index,
Object element)
| Method Detail |
protected int getCardinality()
getCardinality in class AbstractBuilderNodeprotected Object getElement()
protected void hiddenStateChanged(boolean nowHidden)
hiddenStateChanged in class AbstractBuilderNodeprotected void disabledStateChanged(boolean nowDisabled)
disabledStateChanged in class AbstractBuilderNodeprotected abstract Object createInitialElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||