public static enum MessageDialog.ConfirmResult extends java.lang.Enum<MessageDialog.ConfirmResult>
| Modifier and Type | Method and Description |
|---|---|
static MessageDialog.ConfirmResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageDialog.ConfirmResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageDialog.ConfirmResult OK
public static final MessageDialog.ConfirmResult CANCEL
public static MessageDialog.ConfirmResult[] values()
for (MessageDialog.ConfirmResult c : MessageDialog.ConfirmResult.values()) System.out.println(c);
public static MessageDialog.ConfirmResult 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