Searched refs:QuitResponse (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/macosx/classes/com/apple/eawt/
H A DQuitHandler.java43 * Implementors must call either {@link QuitResponse#cancelQuit()}, {@link QuitResponse#performQuit()}, or ensure the application terminates.
44 * The process (or log-out) requesting this app to quit will be blocked until the {@link QuitResponse} is handled.
45 * Apps that require complex UI to shutdown may call the {@link QuitResponse} from any thread.
47 * This handler is called each time a quit is requested, and the same {@link QuitResponse} object is passed until it is handled.
48 * Once used, the {@link QuitResponse} cannot be used again to change the decision.
53 public void handleQuitRequestWith(final QuitEvent e, final QuitResponse response);
H A DQuitResponse.java30 * The QuitResponse may be used after the {@link QuitHandler#handleQuitRequestWith(AppEvent.QuitEvent, QuitResponse)} method has returned, and may be used from any thread.
39 public class QuitResponse { class
42 QuitResponse(final _AppEventHandler appEventHandler) { method in class:QuitResponse
H A D_AppEventHandler.java128 QuitResponse currentQuitResponse;
129 synchronized QuitResponse obtainQuitResponse() {
131 return currentQuitResponse = new QuitResponse(this);
394 final QuitResponse response = obtainQuitResponse(); // obtains the "current" quit response
H A D_AppEventLegacyHandler.java162 public void handleQuitRequestWith(final QuitEvent e, final QuitResponse response) {

Completed in 33 milliseconds