All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xu.xu_ToolBarElement

java.lang.Object
   |
   +----com.sun.java.swing.tree.DefaultMutableTreeNode
           |
           +----xg.xg_Node
                   |
                   +----xg.xg_Element
                           |
                           +----xu.xu_ToolBarElement

public class xu_ToolBarElement
extends xg_Element
An XML element to represent a Swing toolbar.


Variable Index

 o RegisteredName
The element type name normally used in XML for this sort of element.
 o SeparatorTypeName
The element type name used in XML for a toolbar separator.
 o TheToolBar
The toolbar created by this element.

Constructor Index

 o xu_ToolBarElement()
Construct a toolbar element with no type and no name.
 o xu_ToolBarElement(String)
Construct a toolbar with a name.

Method Index

 o getSummaryString()
Get a summary descriptive string suitable for display in the tree view or elsewhere.
 o getToolBar()
Get the toolbar created by this element.
 o toString()
Return a string representation of the element (intended for use as debug output).
 o verify()

Verify that this node is correct (ie.

Variables

 o TheToolBar
 protected JToolBar TheToolBar
The toolbar created by this element.

 o RegisteredName
 public static final String RegisteredName
The element type name normally used in XML for this sort of element.

 o SeparatorTypeName
 public static final String SeparatorTypeName
The element type name used in XML for a toolbar separator.

Constructors

 o xu_ToolBarElement
 public xu_ToolBarElement()
Construct a toolbar element with no type and no name.

 o xu_ToolBarElement
 public xu_ToolBarElement(String InputNodeName)
Construct a toolbar with a name.

Parameters:
InputNodeName - The name of the element

Methods

 o verify
 public void verify() throws xg_VerificationException

Verify that this node is correct (ie. internally correct and/or consistent with other nodes - such as its parent). The node is OK if each of its children is an xu_ToolBarButtonElement, an xg_Element of type "Separator" or not an xg_Element.

Throws: xg_VerificationException
Description of verification problem
Overrides:
verify in class xg_Node
 o getToolBar
 public JToolBar getToolBar()
Get the toolbar created by this element.

Returns:
The toolbar itself.
 o getSummaryString
 public String getSummaryString()
Get a summary descriptive string suitable for display in the tree view or elsewhere.

Returns:
A description suitable for display in the tree view
Overrides:
getSummaryString in class xg_Node
 o toString
 public String toString()
Return a string representation of the element (intended for use as debug output).

Returns:
String representing the node's name.
Overrides:
toString in class xg_Element

All Packages  Class Hierarchy  This Package  Previous  Next  Index