|
||||||||||
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
A skeletal implementation for builder nodes. Note that this builder registers itself as a PropertySetListener on the CommandNode, so subclasses do not need to do so again.
Field Summary | |
protected static int |
END_POSITION
|
Fields inherited from interface com.virtuosotechnologies.lib.container.PropertySetListener |
PROPERTYSET_CHANGED_METHOD |
Constructor Summary | |
protected |
AbstractBuilderNode(CommandNode commandNode,
AbstractBranchBuilderNode parent,
int index)
Constructor |
Method Summary | |
protected void |
decGrayLevel()
Decrement the gray level |
protected void |
decMaskLevel()
Decrement the mask level |
protected abstract void |
disabledStateChanged(boolean nowDisabled)
The gray state has changed. |
static void |
dump(AbstractBuilderNode node)
Dump subgraph to standard error |
protected abstract int |
getCardinality()
Get the cardinality (number of swing objects this node represents). |
protected CommandNode |
getCommandNode()
Return the command node |
protected AbstractBranchBuilderNode |
getParent()
Return the parent |
protected abstract void |
hiddenStateChanged(boolean nowHidden)
The hidden state has changed. |
protected void |
incGrayLevel()
Increment the gray level |
protected void |
incMaskLevel()
Increment the mask level |
protected boolean |
isDisabled()
Get the grayed state |
protected boolean |
isHidden()
Get the hidden state |
void |
propertySetChanged(PropertySetEvent ev)
Model changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int END_POSITION
Constructor Detail |
protected AbstractBuilderNode(CommandNode commandNode, AbstractBranchBuilderNode parent, int index)
Method Detail |
protected final AbstractBranchBuilderNode getParent()
protected final CommandNode getCommandNode()
protected final boolean isHidden()
protected final boolean isDisabled()
protected final void incMaskLevel()
protected final void decMaskLevel()
protected final void incGrayLevel()
protected final void decGrayLevel()
public void propertySetChanged(PropertySetEvent ev)
propertySetChanged
in interface PropertySetListener
ev
- more information about the eventprotected abstract void hiddenStateChanged(boolean nowHidden)
protected abstract void disabledStateChanged(boolean nowDisabled)
protected abstract int getCardinality()
public static void dump(AbstractBuilderNode node)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |