    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xu.xu_FrameConfigDocument

    java.lang.Object
       |
       +----com.sun.java.swing.tree.DefaultMutableTreeNode
               |
               +----xg.xg_Node
                       |
                       +----xg.xg_Document
                               |
                               +----xu.xu_FrameConfigDocument

public class xu_FrameConfigDocument
extends xg_Document

xu_FrameConfigDocument is an XML document for configuration details. It provides a limited degree of support for the elements it contains (of which it has no knowledge - since they need to know about it), in the form of actions which they may associate themselves, and a bundle of text resources.

##

xu_FrameConfigDocument()

##

getAction(String)
  Get the action registered under the given name.
getActionsHashtable()
  Get the hashtable of known actions.
getResourceBundle()
  Get the text resource bundle.
getResourceString(String)
  Get the value of the string whose name is InputResourceName.
loadResources(String)
  Load resources.
registerAction(Action)
  Add the InputAction to the hashtable of known actions.
registerActions(Action[])
  Add an array of actions to the array of known actions.

##

xu_FrameConfigDocument

     public xu_FrameConfigDocument()

##

registerActions

     public void registerActions(Action InputActionArray[])

  Add an array of actions to the array of known actions.

registerAction

     public void registerAction(Action InputAction)

  Add the InputAction to the hashtable of known actions.

loadResources

     public boolean loadResources(String InputConfigFileName)

  Load resources.

  Parameters:
    InputConfigFileName - The name of the configuration file from which to obtain information. It omits its '.properties' ending, since locale-specific endings are tried as appropriate.
  Returns:
    A flag indicating whether the load was successful

getAction

     public Action getAction(String InputActionName)

  Get the action registered under the given name.

getResourceString

     public String getResourceString(String InputResourceName)

  Get the value of the string whose name is InputResourceName.

getActionsHashtable

     public Hashtable getActionsHashtable()

  Get the hashtable of known actions.

getResourceBundle

     public ResourceBundle getResourceBundle()

  Get the text resource bundle.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index