Package com.openindex.openestate.tool
Interface AbstractApplication.ExitListener
-
- All Superinterfaces:
EventListener
- Enclosing class:
- AbstractApplication
public static interface AbstractApplication.ExitListener extends EventListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
canExit
boolean canExit(EventObject event)
The method is called before the Application exits.- Parameters:
event
- theEventObject
object. It will be the the value passed toexit()
.- Returns:
true
if application can proceed with shutdown process;false
if there are pending decisions that the user must make before the app exits.
-
willExit
void willExit(EventObject event)
The method is called after the exit has been confirmed.- Parameters:
event
- theEventObject
object. It will be the the value passed toexit()
.
-
-