    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xu.xu_ActionElement

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

public class xu_ActionElement
extends xg_Element

An XML element to represent information about a Swing Action.

##

IdAttName
  The name of the attribute which holds the ID of this action.
ImageAttName
  The name of the attribute which holds the relative pathname of the image associated with this action (to be used on menus and toolbars).
RegisteredName
  The element type name normally used in XML for this sort of element.

##

xu_ActionElement()
  Construct an action element with no type and no name.
xu_ActionElement(String)
  Construct an action with a name.

##

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

  Verify that this node is correct (ie.

##

RegisteredName

     public static final String RegisteredName

  The element type name normally used in XML for this sort of element.

IdAttName

     public static final String IdAttName

  The name of the attribute which holds the ID of this action.

ImageAttName

     public static final String ImageAttName

  The name of the attribute which holds the relative pathname of the image associated with this action (to be used on menus and toolbars).

##

xu_ActionElement

     public xu_ActionElement()

  Construct an action element with no type and no name.

xu_ActionElement

     public xu_ActionElement(String InputNodeName)

  Construct an action with a name.

  Parameters:
    InputNodeName - The name of the element

##

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 it has a 'Name' attribute and has an 'Image' attribute.

  Throws: xg_VerificationException
    Description of verification problem
  Overrides:
    verify in class xg_Node

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

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