public static interface AbstractApplication.ExitListener extends EventListener
Modifier and Type | Method and Description |
---|---|
boolean |
canExit(EventObject event)
The method is called before the Application exits.
|
void |
willExit(EventObject event)
The method is called after the exit has been confirmed.
|
boolean canExit(EventObject event)
event
- the EventObject
object. It will be the the value passed
to exit()
.true
if application can proceed with shutdown process; false
if
there are pending decisions that the user must make before the app exits.void willExit(EventObject event)
event
- the EventObject
object. It will be the the value passed
to exit()
.Copyright © 2015 OpenEstate. All rights reserved.