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