public static enum MessageDialog.Type extends java.lang.Enum<MessageDialog.Type>
Enum Constant and Description |
---|
CONFIRM
Confirmation dialog
|
CUSTOM
A custom dialog
|
ERROR
An error dialog
|
INFORMATION
An information dialog
|
QUESTION
A question dialog
|
QUESTION_CANCEL
Question and cancel dialog which has result of
MessageDialog.QuestionCancelResult |
WARNING
A warning dialog
|
Modifier and Type | Method and Description |
---|---|
static MessageDialog.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageDialog.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageDialog.Type CUSTOM
public static final MessageDialog.Type QUESTION
public static final MessageDialog.Type INFORMATION
public static final MessageDialog.Type WARNING
public static final MessageDialog.Type ERROR
public static final MessageDialog.Type CONFIRM
public static final MessageDialog.Type QUESTION_CANCEL
MessageDialog.QuestionCancelResult
public static MessageDialog.Type[] values()
for (MessageDialog.Type c : MessageDialog.Type.values()) System.out.println(c);
public static MessageDialog.Type 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