Package org.apache.pivot.wtk
Class Application.Adapter
- java.lang.Object
- 
- org.apache.pivot.wtk.Application.Adapter
 
- 
- All Implemented Interfaces:
- Application
 - Enclosing interface:
- Application
 
 @Deprecated public static class Application.Adapter extends java.lang.Object implements Application Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Application adapter.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ApplicationApplication.AboutHandler, Application.Adapter, Application.UncaughtExceptionHandler, Application.UnprocessedKeyHandler
 
- 
 - 
Constructor SummaryConstructors Constructor Description Adapter()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidresume()Deprecated.Called when a suspended application has been resumed.booleanshutdown(boolean optional)Deprecated.Called when the application is being shut down.voidstartup(Display display, Map<java.lang.String,java.lang.String> properties)Deprecated.Called when the application is starting up.voidsuspend()Deprecated.Called to notify the application that it is being suspended.
 
- 
- 
- 
Method Detail- 
startuppublic void startup(Display display, Map<java.lang.String,java.lang.String> properties) throws java.lang.Exception Deprecated.Description copied from interface:ApplicationCalled when the application is starting up.- Specified by:
- startupin interface- Application
- Parameters:
- display- The display on which this application was started.
- properties- Initialization properties passed to the application.
- Throws:
- java.lang.Exception- if there is any problem during startup.
 
 - 
shutdownpublic boolean shutdown(boolean optional) throws java.lang.ExceptionDeprecated.Description copied from interface:ApplicationCalled when the application is being shut down.- Specified by:
- shutdownin interface- Application
- Parameters:
- optional- If- true, the shutdown may be cancelled by returning a value of- true.
- Returns:
- trueto cancel shutdown,- falseto proceed with shutdown (default).
- Throws:
- java.lang.Exception- if there is a problem during shutdown.
 
 - 
suspendpublic void suspend() throws java.lang.ExceptionDeprecated.Description copied from interface:ApplicationCalled to notify the application that it is being suspended.- Specified by:
- suspendin interface- Application
- Throws:
- java.lang.Exception- if there is a problem doing the suspend.
 
 - 
resumepublic void resume() throws java.lang.ExceptionDeprecated.Description copied from interface:ApplicationCalled when a suspended application has been resumed.- Specified by:
- resumein interface- Application
- Throws:
- java.lang.Exception- if there is a problem doing the resume.
 
 
- 
 
-