Serializable
Comparable<QuitStrategy>
public enum QuitStrategy extends Enum<QuitStrategy>
Desktop.setQuitHandler(java.awt.desktop.QuitHandler)
Desktop.setQuitStrategy(java.awt.desktop.QuitStrategy)
Desktop.enableSuddenTermination()
Desktop.disableSuddenTermination()
CLOSE_ALL_WINDOWS
NORMAL_EXIT
System.exit(0)
static QuitStrategy
valueOf(String name)
static QuitStrategy[]
values()
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
public static final QuitStrategy NORMAL_EXIT
public static final QuitStrategy CLOSE_ALL_WINDOWS
public static QuitStrategy[] values()
for (QuitStrategy c : QuitStrategy.values()) System.out.println(c);
public static QuitStrategy valueOf(String name)
name
IllegalArgumentException
NullPointerException