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