org.yasl.arch.application
Interface YASLSwingApplication

All Superinterfaces:
YASLApplication, YASLGUIApplication
All Known Implementing Classes:
YASLSwingApplicationImpl

public interface YASLSwingApplication
extends YASLGUIApplication

Extends the YASLGUIApplication interface with methods associated with a Swing application.


Field Summary
 
Fields inherited from interface org.yasl.arch.application.YASLApplication
KEY_ACTION_APPLICATION_EXIT, KEY_ACTION_APPLICATION_START, KEY_ACTION_HANDLER, KEY_APPLICATION, KEY_ERROR_HANDLER, KEY_GUI_APP_ROOTPANE, KEY_PREFERENCES_MANAGER, KEY_RESOURCE_MANAGER, KEY_SWING_APP_FRAME
 
Method Summary
 JFrame getJFrame()
          Returns the JFrame associated with this Swing application.
 YASLSwingAppFrame getSwingAppFrame()
          Returns the YASLSwingAppFrame instance associated with this application.
 void restoreCursor()
          Restores the cursor to the non-wait cursor.
 void setWaitCursor()
          Changes the cursor to the wait cursor.
 
Methods inherited from interface org.yasl.arch.application.YASLGUIApplication
getParentPane, setGlassPane, unsetGlassPane
 
Methods inherited from interface org.yasl.arch.application.YASLApplication
getActionHandler, getApplicationType, getErrorHandler, getResourceManager, getSingleton, getSingletonKeys, isInitialized, isSingletonMapped, setResourceManager, setSingleton
 

Method Detail

getSwingAppFrame

public YASLSwingAppFrame getSwingAppFrame()
Returns the YASLSwingAppFrame instance associated with this application.

Returns:
YASLSwingAppFrame

getJFrame

public JFrame getJFrame()
Returns the JFrame associated with this Swing application.

Returns:
JFrame

setWaitCursor

public void setWaitCursor()
Changes the cursor to the wait cursor.


restoreCursor

public void restoreCursor()
Restores the cursor to the non-wait cursor.