public static enum GConsole.ClosingMode extends java.lang.Enum<GConsole.ClosingMode>
Enum Constant and Description |
---|
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)
|
Modifier and Type | Method and Description |
---|---|
static GConsole.ClosingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GConsole.ClosingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GConsole.ClosingMode TerminateOnClose
public static final GConsole.ClosingMode ClearOnClose
public static final GConsole.ClosingMode HideOnClose
public static final GConsole.ClosingMode AskOnClose
public static final GConsole.ClosingMode DisposeOnClose
public static final GConsole.ClosingMode ReleaseOnClose
public static final GConsole.ClosingMode NothingOnClose
public static GConsole.ClosingMode[] values()
for (GConsole.ClosingMode c : GConsole.ClosingMode.values()) System.out.println(c);
public static GConsole.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 namejava.lang.NullPointerException
- if the argument is null