public static enum QTray.MessageType extends java.lang.Enum<QTray.MessageType>
Enum Constant and Description |
---|
ERROR
An error message
|
INFO
An information message
|
NONE
Simple message
|
WARNING
A warning message
|
Modifier and Type | Method and Description |
---|---|
static QTray.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QTray.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QTray.MessageType ERROR
public static final QTray.MessageType WARNING
public static final QTray.MessageType INFO
public static final QTray.MessageType NONE
public static QTray.MessageType[] values()
for (QTray.MessageType c : QTray.MessageType.values()) System.out.println(c);
public static QTray.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