All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xg.xu_MenuBarElement

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

public class xu_MenuBarElement
extends xg_Element
Class xu_MenuBarElement - an XML element to represent a Swing menubar.


Variable Index

 o TheMenuBar
The menubar created by this element.

Constructor Index

 o xu_MenuBarElement()
Construct a menubar element with no type and no name.
 o xu_MenuBarElement(int, String)
Construct a menubar with a type and name.

Method Index

 o getMenuBar(String)
Get the menubar created by this element.
 o toString()
Return a string representation of the element (intended for use as debug output).

Variables

 o TheMenuBar
 protected JMenuBar TheMenuBar
The menubar created by this element.

Constructors

 o xu_MenuBarElement
 public xu_MenuBarElement()
Construct a menubar element with no type and no name.

 o xu_MenuBarElement
 public xu_MenuBarElement(int InputNodeType,
                          String InputElementName)
Construct a menubar with a type and name.

Parameters:
InputNodeType - The type of the node
InputElementName - The name of the element

Methods

 o getMenuBar
 public JMenuBar getMenuBar(String InputAttName)
Get the menubar created by this element.

Returns:
The menubar itself.
 o toString
 public String toString()
Return a string representation of the element (intended for use as debug output).

Returns:
String representing the node type and its name.
Overrides:
toString in class xg_Element

All Packages  Class Hierarchy  This Package  Previous  Next  Index