|
Arch4J 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--org.arch4j.ui.JDefaultApplicationPanel
| Field Summary | |
protected CommandManager |
commandMgr
|
protected Performer |
performer
|
protected ResourceManager |
resourceMgr
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
JDefaultApplicationPanel()
Constructor. |
|
| Method Summary | |
void |
actionPerformed(ActionEvent e)
Listener callback method. |
void |
addAction(Action anAction)
Add an Action to the command manager. |
void |
disableAction(String action)
Disable an action in the command manager. |
void |
enableAction(String action)
Enable an action in the command manager. |
void |
exitApplication()
Cause the application to terminate. |
CommandManager |
getCommandManager()
commandMgr Accessor. |
ImageIcon |
getIcon()
Get the icon that is displayed in the Window titlebar from the command manager. |
JMenuBar |
getMenubar()
Gets the menubar for the application. |
JPopupMenu |
getPopupMenu(String name)
Get a named popup menu from the command manager. |
ResourceManager |
getResourceManager()
resourceMgr Accessor. |
String |
getTitle()
Answer the String displayed in the Window title bar. |
String |
getTitleBarTitle()
Answer the String displayed in the Window title bar. |
JToolBar |
getToolbar()
Gets the toolbar for the application. |
protected void |
initialize()
Initialize. |
void |
initializeButtonState()
Initialize the buttons to be enable/disable buttons when the interface comes up. |
protected void |
initializeCommandManager()
Create an instance of the CommandManager. |
protected void |
initializeContents()
Initialize the contents of the panel. |
protected void |
initializeResourceManager()
Create an instance of the ResourceManager. |
void |
setDefaultCursor()
Set the wait cursor. |
void |
setWaitCursor()
Set the wait cursor. |
void |
setWindowTitle()
Find the top level frame and set its title.. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected ResourceManager resourceMgr
protected CommandManager commandMgr
protected Performer performer
| Constructor Detail |
public JDefaultApplicationPanel()
| Method Detail |
public void actionPerformed(ActionEvent e)
Implements the ActionListener interface so it can a listener for a varity of Components.
The default action in the use the Performer to perform a method within the JApplication of subclass thereof.
actionPerformed in interface ActionListenerpublic void addAction(Action anAction)
public void disableAction(String action)
public void enableAction(String action)
public void exitApplication()
public CommandManager getCommandManager()
getCommandManager in interface JApplicationPanelpublic ImageIcon getIcon()
getIcon in interface JApplicationPanelpublic JMenuBar getMenubar()
getMenubar in interface JApplicationPanelpublic JPopupMenu getPopupMenu(String name)
public ResourceManager getResourceManager()
getResourceManager in interface JApplicationPanelpublic String getTitle()
getTitle in interface JApplicationPanelpublic String getTitleBarTitle()
public JToolBar getToolbar()
getToolbar in interface JApplicationPanelprotected void initialize()
public void initializeButtonState()
initializeButtonState in interface JApplicationPanelprotected void initializeCommandManager()
protected void initializeContents()
protected void initializeResourceManager()
public void setDefaultCursor()
public void setWaitCursor()
public void setWindowTitle()
|
Arch4J 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||