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.


Constructor Index

 o xu_FrameConfigDocument()

Method Index

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

Constructors

 o xu_FrameConfigDocument
 public xu_FrameConfigDocument()

Methods

 o registerActions
 public void registerActions(Action InputActionArray[])
Add an array of actions to the array of known actions.

 o registerAction
 public void registerAction(Action InputAction)
Add the InputAction to the hashtable of known actions.

 o 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
 o getAction
 public Action getAction(String InputActionName)
Get the action registered under the given name.

 o getResourceString
 public String getResourceString(String InputResourceName)
Get the value of the string whose name is InputResourceName.

 o getActionsHashtable
 public Hashtable getActionsHashtable()
Get the hashtable of known actions.

 o getResourceBundle
 public ResourceBundle getResourceBundle()
Get the text resource bundle.


All Packages  Class Hierarchy  This Package  Previous  Next  Index