com.virtuosotechnologies.lib.basiccommand.builder
Class AbstractAWTContainerBuilderNode

java.lang.Object
  extended bycom.virtuosotechnologies.lib.basiccommand.builder.AbstractBuilderNode
      extended bycom.virtuosotechnologies.lib.basiccommand.builder.AbstractBranchBuilderNode
          extended bycom.virtuosotechnologies.lib.basiccommand.builder.AbstractContainerElementBuilderNode
              extended bycom.virtuosotechnologies.lib.basiccommand.builder.AbstractAWTContainerBuilderNode
All Implemented Interfaces:
CommandNodeListener, EventListener, PropertySetListener
Direct Known Subclasses:
MenuBarBuilderNode, MenuBuilderNode, PopupMenuBuilderNode, ToolBarBuilderNode

public abstract class AbstractAWTContainerBuilderNode
extends AbstractContainerElementBuilderNode

An element container builder that builds an AWT Container. Subclass this to pass implement createChildNode(), and also to pass in the proper type of component in the constructor and/or implement createInitialElement().


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 AbstractAWTContainerBuilderNode(CommandNode commandNode, AbstractBranchBuilderNode parent, int index)
          Constructor implementation
protected AbstractAWTContainerBuilderNode(CommandNode commandNode, AbstractBranchBuilderNode parent, int index, Container container)
          Constructor implementation
 
Method Summary
protected  void addElementAt(int pos, Object element)
          Add indexed element
protected  void removeAllElements()
          Remove all elements
protected  void removeElementAt(int pos)
          Remove indexed element
 
Methods inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractContainerElementBuilderNode
createInitialElement, disabledStateChanged, getCardinality, getElement, hiddenStateChanged
 
Methods inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractBranchBuilderNode
allChildrenRemoved, buildChildren, childAdded, childRemoved, createChildNode, 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, propertySetChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAWTContainerBuilderNode

protected AbstractAWTContainerBuilderNode(CommandNode commandNode,
                                          AbstractBranchBuilderNode parent,
                                          int index)
Constructor implementation


AbstractAWTContainerBuilderNode

protected AbstractAWTContainerBuilderNode(CommandNode commandNode,
                                          AbstractBranchBuilderNode parent,
                                          int index,
                                          Container container)
Constructor implementation

Method Detail

addElementAt

protected void addElementAt(int pos,
                            Object element)
Add indexed element

Specified by:
addElementAt in class AbstractBranchBuilderNode

removeElementAt

protected void removeElementAt(int pos)
Remove indexed element

Specified by:
removeElementAt in class AbstractBranchBuilderNode

removeAllElements

protected void removeAllElements()
Remove all elements

Specified by:
removeAllElements in class AbstractBranchBuilderNode