|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
griffon.core.ThreadingHandlergriffon.swing.SwingGriffonApplication
griffon.core.Observable
griffon.core.resources.ResourceResolver
griffon.core.MVCHandler
griffon.core.i18n.MessageSource
griffon.core.ResourceHandler
public interface SwingGriffonApplication extends GriffonApplication
Defines an additional contract that all Swing based application should follow.
Windows in a Swing application should be handled by a WindowManager, which in
turn requires a concrete implementation of the WindowDisplayHandler to be available
on the target application.
| Field Summary |
|---|
| Fields inherited from interface GriffonApplication | |
|---|---|
| REF_KEY_START, REF_KEY_END, REF_KEY_START, REF_KEY_END |
| Method Summary | |
|---|---|
WindowDisplayHandler
|
getWindowDisplayHandler()
Returns the |
WindowManager
|
getWindowManager()
Returns the |
WindowDisplayHandler
|
resolveWindowDisplayHandler()
Resolves the |
void
|
setWindowDisplayHandler(WindowDisplayHandler windowDisplayHandler)
Sets the |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Method Detail |
|---|
public WindowDisplayHandler getWindowDisplayHandler()
WindowDisplayHandler defined for this application.
An application implementation may opt for ignoring this property, in which case
a DefaultWindowDisplayHandler should be used.
public WindowManager getWindowManager()
WindowManager associated with this application.
Every GriffonSwingApplication must have a non-null instance.
public WindowDisplayHandler resolveWindowDisplayHandler()
WindowDisplayHandler to be used with WindowManager.
Should NEVER return null. If no custom WindowDisplayHandler has been defined
for this application then this method should return an instance of DefaulWindowDisplayHandler.
public void setWindowDisplayHandler(WindowDisplayHandler windowDisplayHandler)
WindowDisplayHandler to be used in conjuction with WindowManager
to handle window showing/hiding.
If set to null the application should revert to using an instance of
DefaultWindowDisplayHandler.
windowDisplayHandler - the instance to use, may be null.
Groovy Documentation