|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.Application.Adapter
public static class Application.Adapter
Application adapter.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.Application |
---|
Application.AboutHandler, Application.Adapter, Application.UncaughtExceptionHandler, Application.UnprocessedKeyHandler |
Constructor Summary | |
---|---|
Application.Adapter()
|
Method Summary | |
---|---|
void |
resume()
Called when a suspended application has been resumed. |
boolean |
shutdown(boolean optional)
Called when the application is being shut down. |
void |
startup(Display display,
Map<String,String> properties)
Called when the application is starting up. |
void |
suspend()
Called to notify the application that it is being suspended. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Application.Adapter()
Method Detail |
---|
public void startup(Display display, Map<String,String> properties) throws Exception
Application
startup
in interface Application
display
- The display on which this application was started.properties
- Initialization properties passed to the application.
Exception
public boolean shutdown(boolean optional) throws Exception
Application
shutdown
in interface Application
optional
- If true, the shutdown may be cancelled by returning a value of
true.
Exception
public void suspend() throws Exception
Application
suspend
in interface Application
Exception
public void resume() throws Exception
Application
resume
in interface Application
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |