|
||||||||||
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
com.virtuosotechnologies.lib.basiccommand.builder.AbstractAWTContainerBuilderNode
com.virtuosotechnologies.lib.basiccommand.builder.MenuBuilderNode
A builder that creates a menu or submenu
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 | |
|
MenuBuilderNode(CommandNode commandNode)
Public constructor used to make standalone JMenus |
protected |
MenuBuilderNode(CommandNode commandNode,
AbstractBranchBuilderNode parent,
int index)
Internal constructor used to make menubar menus and submenus |
|
MenuBuilderNode(CommandNode commandNode,
JMenu menu)
Public constructor used to make standalone JMenus |
Method Summary | |
protected void |
addElementAt(int pos,
Object element)
Add indexed element. |
protected AbstractBuilderNode |
createChildNode(CommandNode cn,
int index)
Create a child node |
protected Object |
createInitialElement()
Override this method to create the initial element object. |
JMenu |
getJMenu()
Get the built menu |
void |
propertySetChanged(PropertySetEvent ev)
Model changed |
protected void |
removeAllElements()
Remove all elements. |
protected void |
removeElementAt(int pos)
Remove indexed element. |
Methods inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractContainerElementBuilderNode |
disabledStateChanged, getCardinality, getElement, hiddenStateChanged |
Methods inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractBranchBuilderNode |
allChildrenRemoved, buildChildren, childAdded, childRemoved, getChild, getChild, getChildren, getNumChildren, getPosition, getPosition, removeChildElements, setElementAt |
Methods inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractBuilderNode |
decGrayLevel, decMaskLevel, dump, getCommandNode, getParent, incGrayLevel, incMaskLevel, isDisabled, isHidden |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MenuBuilderNode(CommandNode commandNode)
public MenuBuilderNode(CommandNode commandNode, JMenu menu)
protected MenuBuilderNode(CommandNode commandNode, AbstractBranchBuilderNode parent, int index)
Method Detail |
protected void addElementAt(int pos, Object element)
addElementAt
in class AbstractAWTContainerBuilderNode
protected void removeElementAt(int pos)
removeElementAt
in class AbstractAWTContainerBuilderNode
protected void removeAllElements()
removeAllElements
in class AbstractAWTContainerBuilderNode
protected Object createInitialElement()
createInitialElement
in class AbstractContainerElementBuilderNode
protected AbstractBuilderNode createChildNode(CommandNode cn, int index)
createChildNode
in class AbstractBranchBuilderNode
public JMenu getJMenu()
public void propertySetChanged(PropertySetEvent ev)
propertySetChanged
in interface PropertySetListener
propertySetChanged
in class AbstractBuilderNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |