public interface QuitResponse
Used to respond to a request to quit the application.
- Since:
- 9
- See Also:
- Desktop.setQuitHandler(QuitHandler),- QuitHandler,- Desktop.setQuitStrategy(QuitStrategy)
- 
Method SummaryModifier and Type Method Description voidcancelQuit()Notifies the external quit requester that the user has explicitly canceled the pending quit, and leaves the application running.voidperformQuit()Notifies the external quit requester that the quit will proceed, and performs the defaultQuitStrategy.
- 
Method Details- 
performQuitvoid performQuit()Notifies the external quit requester that the quit will proceed, and performs the defaultQuitStrategy.
- 
cancelQuitvoid cancelQuit()Notifies the external quit requester that the user has explicitly canceled the pending quit, and leaves the application running.Note: this will cancel a pending log-out, restart, or shutdown. 
 
-