|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExitListener
Describes listeners that hook into the application shutdown process. Implementors can veto against an application shutdown, for example if there are unsaved documents. And implementors can perform operations on application shutdown, for example persist data.
Application.exit(EventObject)
,
Application.addExitListener(ExitListener)
,
Application.removeExitListener(ExitListener)
Method Summary | |
---|---|
boolean |
applicationExitAllowed(EventObject event)
Checks and answers whether the application may exit or not. |
void |
applicationExiting()
Invoked if the application is exiting. |
Method Detail |
---|
boolean applicationExitAllowed(EventObject event)
event
- the event that caused the application to exit
void applicationExiting()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |