public enum MessageBoxResult extends java.lang.Enum<MessageBoxResult>
| Enum Constant and Description |
|---|
CANCEL
"Cancel" button was selected.
|
NO
"No" button was selected.
|
NONE
No button was selected (message box was closed via system menu or not
show at all).
|
OK
"Ok" button was selected.
|
YES
"Yes" button was selected.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageBoxResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageBoxResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageBoxResult NONE
public static final MessageBoxResult OK
public static final MessageBoxResult CANCEL
public static final MessageBoxResult YES
public static final MessageBoxResult NO
public static MessageBoxResult[] values()
for (MessageBoxResult c : MessageBoxResult.values()) System.out.println(c);
public static MessageBoxResult 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