public static enum Frame.MessageMode extends java.lang.Enum<Frame.MessageMode>
Enum Constant and Description |
---|
CONFIRMATION
Confirmation with plain text message
|
CONFIRMATION_HTML
Confirmation with HTML message
|
WARNING
Warning with plain text message
|
WARNING_HTML
Warning with HTML message
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isHTML(Frame.MessageMode type) |
static Frame.MessageMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Frame.MessageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Frame.MessageMode CONFIRMATION
public static final Frame.MessageMode CONFIRMATION_HTML
public static final Frame.MessageMode WARNING
public static final Frame.MessageMode WARNING_HTML
public static Frame.MessageMode[] values()
for (Frame.MessageMode c : Frame.MessageMode.values()) System.out.println(c);
public static Frame.MessageMode 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 nullpublic static boolean isHTML(Frame.MessageMode type)