public static enum IAppListener.QuitReply extends Enum<IAppListener.QuitReply>
Enum Constant and Description |
---|
CANCEL
Cancels the quit operation immediately.
|
IN_PROGRESS
Quitting is in progress, a call to
{@link ISystem#cancelQuit(Object)} or
{@link ISystem#exiting(Object)} will be done
shortly. |
OK
Proceeds with the quit operation to close the process using
System.exit(0) . |
Modifier and Type | Method and Description |
---|---|
static IAppListener.QuitReply |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IAppListener.QuitReply[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IAppListener.QuitReply OK
System.exit(0)
.public static final IAppListener.QuitReply CANCEL
public static final IAppListener.QuitReply IN_PROGRESS
{@link ISystem#cancelQuit(Object)}
or
{@link ISystem#exiting(Object)}
will be done
shortly.public static IAppListener.QuitReply[] values()
for (IAppListener.QuitReply c : IAppListener.QuitReply.values()) System.out.println(c);
public static IAppListener.QuitReply valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.