com.virtuosotechnologies.lib.basiccommand.builder
Class ToolBarBuilderNode

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
                  extended bycom.virtuosotechnologies.lib.basiccommand.builder.ToolBarBuilderNode
All Implemented Interfaces:
CommandNodeListener, EventListener, PropertySetListener

public class ToolBarBuilderNode
extends AbstractAWTContainerBuilderNode

A builder that creates a tool bar.


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
ToolBarBuilderNode(CommandNode commandNode)
          Constructor
ToolBarBuilderNode(CommandNode commandNode, JToolBar toolBar)
          Constructor
 
Method Summary
protected  AbstractBuilderNode createChildNode(CommandNode cn, int index)
          Create a child node
protected  Object createInitialElement()
          Override this method to create the initial element object.
 JToolBar getJToolBar()
          Get the built tool bar
 
Methods inherited from class com.virtuosotechnologies.lib.basiccommand.builder.AbstractAWTContainerBuilderNode
addElementAt, removeAllElements, removeElementAt
 
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, propertySetChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolBarBuilderNode

public ToolBarBuilderNode(CommandNode commandNode)
Constructor


ToolBarBuilderNode

public ToolBarBuilderNode(CommandNode commandNode,
                          JToolBar toolBar)
Constructor

Method Detail

createInitialElement

protected Object createInitialElement()
Override this method to create the initial element object.

Specified by:
createInitialElement in class AbstractContainerElementBuilderNode

createChildNode

protected AbstractBuilderNode createChildNode(CommandNode cn,
                                              int index)
Create a child node

Specified by:
createChildNode in class AbstractBranchBuilderNode

getJToolBar

public JToolBar getJToolBar()
Get the built tool bar