|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.virtuosotechnologies.lib.basiccommand.builder.AbstractBuilderNode com.virtuosotechnologies.lib.basiccommand.builder.AbstractBranchBuilderNode com.virtuosotechnologies.lib.basiccommand.builder.AbstractGroupBuilderNode
A builder that creates a group of related elements based on its children, but creates no element of its own. Subclass this class and override createChildNode to create the proper types of children.
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 |
AbstractGroupBuilderNode(CommandNode commandNode,
AbstractBranchBuilderNode parent,
int index)
Constructor |
Method Summary | |
protected void |
addElementAt(int pos,
Object element)
Add indexed element |
void |
childAdded(ChildAddedEvent ev)
Child added. |
protected void |
disabledStateChanged(boolean nowDisabled)
The disabled state has changed. |
protected int |
getCardinality()
Get the cardinality (number of swing objects this node represents). |
protected void |
hiddenStateChanged(boolean nowHidden)
The hidden state has changed. |
protected void |
removeAllElements()
Remove all elements |
protected void |
removeElementAt(int pos)
Remove indexed element |
protected void |
setElementAt(int pos,
Object element)
Set indexed element |
Methods inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractBranchBuilderNode |
allChildrenRemoved, buildChildren, childRemoved, createChildNode, getChild, getChild, getChildren, getNumChildren, getPosition, getPosition, removeChildElements |
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 AbstractGroupBuilderNode(CommandNode commandNode, AbstractBranchBuilderNode parent, int index)
Method Detail |
protected int getCardinality()
getCardinality
in class AbstractBuilderNode
protected void addElementAt(int pos, Object element)
addElementAt
in class AbstractBranchBuilderNode
protected void setElementAt(int pos, Object element)
setElementAt
in class AbstractBranchBuilderNode
protected void removeElementAt(int pos)
removeElementAt
in class AbstractBranchBuilderNode
protected void removeAllElements()
removeAllElements
in class AbstractBranchBuilderNode
protected void hiddenStateChanged(boolean nowHidden)
hiddenStateChanged
in class AbstractBuilderNode
protected void disabledStateChanged(boolean nowDisabled)
disabledStateChanged
in class AbstractBuilderNode
public void childAdded(ChildAddedEvent ev)
childAdded
in interface CommandNodeListener
childAdded
in class AbstractBranchBuilderNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |