public enum ShowMessageType extends java.lang.Enum<ShowMessageType> implements ValueEnum
ShowMessageTask
. Controls the display of the
icon.Enum Constant and Description |
---|
ERROR
Error message
|
NORMAL
Normal message
|
WARNING
Warning message
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ShowMessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShowMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShowMessageType NORMAL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "normal".
public static final ShowMessageType WARNING
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "warning".
public static final ShowMessageType ERROR
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "error".
public static ShowMessageType[] values()
for (ShowMessageType c : ShowMessageType.values()) System.out.println(c);
public static ShowMessageType 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