|
||||||||||
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 java.awt.Window java.awt.Frame javax.swing.JFrame org.yasl.arch.impl.application.YASLSwingAppFrameImpl
Nested Class Summary |
Nested classes inherited from class javax.swing.JFrame |
JFrame.AccessibleJFrame |
Nested classes inherited from class java.awt.Frame |
Frame.AccessibleAWTFrame |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
protected |
YASLSwingAppFrameImpl()
|
protected |
YASLSwingAppFrameImpl(File menuConfigFile)
|
protected |
YASLSwingAppFrameImpl(String menuConfigFileName)
|
Method Summary | |
JFrame |
getJFrame()
Returns this frame as a JFrame. |
YASLSwingApplication |
getSwingApplication()
Returns the swing application instance associated with this frame. |
void |
initUI()
Initializes the application menus and other parts of the application's GUI. |
protected abstract void |
initUI(Map menuBarMap,
Map menuMap)
|
protected void |
setSwingApplication(YASLSwingApplication yaslSwingApp)
setSwingApplication |
void |
windowActivated(WindowEvent e)
Invoked when the Window is set to be the active Window. |
void |
windowClosed(WindowEvent e)
Invoked when a window has been closed as the result of calling dispose on the window. |
void |
windowClosing(WindowEvent e)
Invoked when the user attempts to close the window from the window's system menu. |
void |
windowDeactivated(WindowEvent e)
Invoked when a Window is no longer the active Window. |
void |
windowDeiconified(WindowEvent e)
Invoked when a window is changed from a minimized to a normal state. |
void |
windowIconified(WindowEvent e)
Invoked when a window is changed from a normal to a minimized state. |
void |
windowOpened(WindowEvent e)
Invoked the first time a window is made visible. |
Methods inherited from class java.awt.Frame |
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Constructor Detail |
protected YASLSwingAppFrameImpl()
protected YASLSwingAppFrameImpl(File menuConfigFile)
protected YASLSwingAppFrameImpl(String menuConfigFileName)
Method Detail |
protected void setSwingApplication(YASLSwingApplication yaslSwingApp) throws YASLApplicationException
yaslSwingApp
- YASLSwingApplication
YASLApplicationException
protected abstract void initUI(Map menuBarMap, Map menuMap) throws Exception
Exception
public YASLSwingApplication getSwingApplication()
YASLSwingAppFrame
getSwingApplication
in interface YASLSwingAppFrame
public final void initUI() throws Exception
YASLSwingAppFrame
initUI
in interface YASLSwingAppFrame
Exception
public JFrame getJFrame()
YASLSwingAppFrame
getJFrame
in interface YASLSwingAppFrame
public void windowOpened(WindowEvent e)
windowOpened
in interface WindowListener
public void windowClosing(WindowEvent e)
windowClosing
in interface WindowListener
public void windowClosed(WindowEvent e)
windowClosed
in interface WindowListener
public void windowIconified(WindowEvent e)
windowIconified
in interface WindowListener
Frame.setIconImage(java.awt.Image)
public void windowDeiconified(WindowEvent e)
windowDeiconified
in interface WindowListener
public void windowActivated(WindowEvent e)
windowActivated
in interface WindowListener
public void windowDeactivated(WindowEvent e)
windowDeactivated
in interface WindowListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |