org.yasl.arch.impl.application
Class YASLSwingApplicationImpl

java.lang.Object
  extended byorg.yasl.arch.impl.application.YASLApplicationImpl
      extended byorg.yasl.arch.impl.application.YASLGUIApplicationImpl
          extended byorg.yasl.arch.impl.application.YASLSwingApplicationImpl
All Implemented Interfaces:
YASLApplication, YASLGUIApplication, YASLSwingApplication

public class YASLSwingApplicationImpl
extends YASLGUIApplicationImpl
implements YASLSwingApplication

Implements the YASLSwingApplication interface.


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
 
Constructor Summary
YASLSwingApplicationImpl()
          Creates a YASLSwingApplication instance and sets the frame.
 
Method Summary
 JFrame getJFrame()
          Returns the JFrame associated with this Swing application.
 YASLSwingAppFrame getSwingAppFrame()
          Returns the YASLSwingAppFrame instance associated with this application.
 boolean isInitialized(StringBuffer errBuf)
          Returns true if the application object is fully initialized.
 void restoreCursor()
          Restores the cursor to the non-wait cursor.
 void setWaitCursor()
          Changes the cursor to the wait cursor.
 
Methods inherited from class org.yasl.arch.impl.application.YASLGUIApplicationImpl
getParentPane, setGlassPane, unsetGlassPane
 
Methods inherited from class org.yasl.arch.impl.application.YASLApplicationImpl
createActionHandler, createErrorHandler, getActionHandler, getApplicationType, getErrorHandler, getResourceManager, getSingleton, getSingletonKeys, isSingletonMapped, setResourceManager, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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, isSingletonMapped, setResourceManager, setSingleton
 

Constructor Detail

YASLSwingApplicationImpl

public YASLSwingApplicationImpl()
Creates a YASLSwingApplication instance and sets the frame.

Throws:
YASLApplicationException
Method Detail

isInitialized

public boolean isInitialized(StringBuffer errBuf)
Returns true if the application object is fully initialized. Error information will be written to the errBuf.

Specified by:
isInitialized in interface YASLApplication
Overrides:
isInitialized in class YASLGUIApplicationImpl
Parameters:
errBuf - StringBuffer
Returns:
boolean

getSwingAppFrame

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

Specified by:
getSwingAppFrame in interface YASLSwingApplication
Returns:
YASLSwingAppFrame

getJFrame

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

Specified by:
getJFrame in interface YASLSwingApplication
Returns:
JFrame

setWaitCursor

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

Specified by:
setWaitCursor in interface YASLSwingApplication

restoreCursor

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

Specified by:
restoreCursor in interface YASLSwingApplication