    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.

##

TheMenuBar
  The menubar created by this element.

##

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

##

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

##

TheMenuBar

     protected JMenuBar TheMenuBar

  The menubar created by this element.

##

xu_MenuBarElement

     public xu_MenuBarElement()

  Construct a menubar element with no type and no name.

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

##

getMenuBar

     public JMenuBar getMenuBar(String InputAttName)

  Get the menubar created by this element.

  Returns:
    The menubar itself.

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