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 booleancanExit(EventObject event)The method is called before the Application exits.voidwillExit(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- theEventObjectobject. It will be the the value passed toexit().- Returns:
trueif application can proceed with shutdown process;falseif 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- theEventObjectobject. It will be the the value passed toexit().
-
-