|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
griffon.core.ThreadingHandlergriffon.lanterna.LanternaGriffonApplication
griffon.core.Observable
griffon.core.resources.ResourceResolver
griffon.core.MVCHandler
griffon.core.i18n.MessageSource
griffon.core.ResourceHandler
public interface LanternaGriffonApplication extends GriffonApplication
Defines an additional contract that all Lanterna based application should follow.
Windows in a Lanterna application should be handled by aWindowManager, 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 | |
|---|---|
com.googlecode.lanterna.gui.GUIScreen
|
getScreen()
|
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 com.googlecode.lanterna.gui.GUIScreen getScreen()
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 LanternaGriffonApplication 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 conjunction 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