public final class MacOSXQuitHandler
extends java.lang.Object
implements com.apple.eawt.QuitHandler
Modifier and Type | Method and Description |
---|---|
void |
handleQuitRequestWith(com.apple.eawt.AppEvent.QuitEvent evt,
com.apple.eawt.QuitResponse res)
Accepts a QuitEvent and calls the registered Java quitter.
|
static void |
registerMacOSXQuitter(java.lang.Runnable quitter)
Singleton factory method, registering the given quitter for this
JVM, assuming there has been no previous registration.
|
public void handleQuitRequestWith(com.apple.eawt.AppEvent.QuitEvent evt, com.apple.eawt.QuitResponse res)
handleQuitRequestWith
in interface com.apple.eawt.QuitHandler
evt
- res
- public static void registerMacOSXQuitter(java.lang.Runnable quitter)