|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Application
Represents the entry point into a WTK application.
These methods are called by the application context. In general, they should not be invoked directly by the application.
| Nested Class Summary | |
|---|---|
static interface |
Application.AboutHandler
Optional interface that allows an application to present information about itself. |
static class |
Application.Adapter
Application adapter. |
static interface |
Application.UncaughtExceptionHandler
Optional interface that allows an application to handle uncaught exceptions thrown during a user input event. |
static interface |
Application.UnprocessedKeyHandler
Optional interface that allows an application to handle unprocessed key events (keystrokes that are processed when no component has the input focus). |
| 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. |
| Method Detail |
|---|
void startup(Display display,
Map<String,String> properties)
throws Exception
display - The display on which this application was started.properties - Initialization properties passed to the application.
Exception
boolean shutdown(boolean optional)
throws Exception
optional - If true, the shutdown may be cancelled by returning a value of
true.
Exception
void suspend()
throws Exception
Exception
void resume()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||