public enum MessageColor extends java.lang.Enum<MessageColor> implements ICRMLookupEnum
Enum Constant and Description |
---|
BLACK |
BLUE |
CYAN |
GREEN |
ORANGE |
PURPLE |
RED |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
java.lang.Integer |
getValue() |
static MessageColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageColor WHITE
public static final MessageColor RED
public static final MessageColor ORANGE
public static final MessageColor YELLOW
public static final MessageColor GREEN
public static final MessageColor CYAN
public static final MessageColor BLUE
public static final MessageColor PURPLE
public static final MessageColor BLACK
public static MessageColor[] values()
for (MessageColor c : MessageColor.values()) System.out.println(c);
public static MessageColor 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 java.lang.String getLabel()
getLabel
in interface ICRMLookupEnum
public java.lang.Integer getValue()