|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Console.ClosingMode> ch.aplu.util.Console.ClosingMode
public static enum Console.ClosingMode
Enum Constant Summary | |
---|---|
AskOnClose
AskOnClose -> Shows confirmation dialog asking for termination |
|
ClearOnClose
ClearOnClose -> Clears the console content |
|
DisposeOnClose
DisposeOnClose -> Closes the console window, but does not shutdown JRE |
|
HideOnClose
HideOnClose -> Hides the console, may be shown again by calling show() |
|
NothingOnClose
NothingOnClose -> Does nothing |
|
ReleaseOnClose
ReleaseOnClose -> Like DisposeOnClose, but throws runtime exception when graphics methods are called |
|
TerminateOnClose
Terminating and shutting down JRE by System.exit(0) |
Method Summary | |
---|---|
static Console.ClosingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Console.ClosingMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Console.ClosingMode TerminateOnClose
public static final Console.ClosingMode ClearOnClose
public static final Console.ClosingMode HideOnClose
public static final Console.ClosingMode AskOnClose
public static final Console.ClosingMode DisposeOnClose
public static final Console.ClosingMode ReleaseOnClose
public static final Console.ClosingMode NothingOnClose
Method Detail |
---|
public static Console.ClosingMode[] values()
for (Console.ClosingMode c : Console.ClosingMode.values()) System.out.println(c);
public static Console.ClosingMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |