All Packages Class Hierarchy This Package Previous Next Index
Class xu.xu_Frame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----com.sun.java.swing.JFrame
|
+----xu.xu_Frame
- public class xu_Frame
- extends JFrame
xu_Frame is a JFrame with support for loading a menu bar and/or a toolbar
from an XML configuration file.
-
BasicFrameTitle
-
-
MainFrame
- This class's main frame.
-
MainStatusBar
-
-
ParentFrame
-
The frame from which this class has been invoked.
-
TextResourceBundle
-
-
TheExitAction
-
-
TheFrameConfigManager
-
-
TheHelpAction
-
-
xu_Frame()
- Default constructor.
-
xu_Frame(JFrame)
- Default constructor.
-
getResourceString(String)
- Get the value of the string whose name is InputResourceName.
-
initControlPanel()
- Initialise the input/control panel at the top of the main frame.
-
loadConfig(String)
- Initialise the frame configuration, including setting up the table of
supported actions.
-
registerActions()
- Register the actions supported by this frame.
ParentFrame
public JFrame ParentFrame
-
The frame from which this class has been invoked. This may be null,
in which case it is assumed to be the 'master' frame. Whether this is
null or not is used to decide whether to terminate the whole
application when we exit from here.
Note that this attribute is public so it can be accessible to
inner classes of derived classes.
MainFrame
public JFrame MainFrame
- This class's main frame.
MainStatusBar
public xm_StatusBar MainStatusBar
TheFrameConfigManager
protected xu_FrameConfigManager TheFrameConfigManager
TextResourceBundle
protected ResourceBundle TextResourceBundle
BasicFrameTitle
public String BasicFrameTitle
TheExitAction
protected xu_Frame. ExitAction TheExitAction
TheHelpAction
protected oh_HelpAction TheHelpAction
xu_Frame
public xu_Frame(JFrame InputParentFrame)
- Default constructor. Create a new xu_Frame at a default screen
location.
- Parameters:
- InputParentFrame - The master frame from which this frame is being
called
xu_Frame
public xu_Frame()
- Default constructor. Create a new xu_Frame at a default screen
location.
loadConfig
protected void loadConfig(String InputConfigFilePathname)
- Initialise the frame configuration, including setting up the table of
supported actions.
- Parameters:
- InputConfigFilePathname - The name of the configuration file to load
registerActions
protected void registerActions()
- Register the actions supported by this frame.
initControlPanel
protected void initControlPanel()
- Initialise the input/control panel at the top of the main frame.
getResourceString
protected String getResourceString(String InputResourceName)
- Get the value of the string whose name is InputResourceName.
All Packages Class Hierarchy This Package Previous Next Index