org.yasl.arch.impl.application
Class YASLGUIApplicationImpl

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

public class YASLGUIApplicationImpl
extends YASLApplicationImpl
implements YASLGUIApplication

Implements the YASLGUIApplication 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
YASLGUIApplicationImpl(YASLApplicationType appType)
          Creates a YASLGUIApplication instance and sets the application type and rootPane.
 
Method Summary
 JRootPane getParentPane()
          Returns the root pane for the application.
 boolean isInitialized(StringBuffer errBuf)
          Returns true if the application object is fully initialized.
 void setGlassPane()
          Sets the glass pane for the parent pane.
 void unsetGlassPane()
          Unsets the glass pane.
 
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.YASLApplication
getActionHandler, getApplicationType, getErrorHandler, getResourceManager, getSingleton, getSingletonKeys, isSingletonMapped, setResourceManager, setSingleton
 

Constructor Detail

YASLGUIApplicationImpl

public YASLGUIApplicationImpl(YASLApplicationType appType)
Creates a YASLGUIApplication instance and sets the application type and rootPane.

Parameters:
appType - YASLApplicationType
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 YASLApplicationImpl
Parameters:
errBuf - StringBuffer
Returns:
boolean

getParentPane

public JRootPane getParentPane()
Returns the root pane for the application.

Specified by:
getParentPane in interface YASLGUIApplication
Returns:
JRootPane

setGlassPane

public void setGlassPane()
Sets the glass pane for the parent pane. This will prevent the handling of mouse events.

Specified by:
setGlassPane in interface YASLGUIApplication

unsetGlassPane

public void unsetGlassPane()
Unsets the glass pane.

Specified by:
unsetGlassPane in interface YASLGUIApplication