public enum ColorLabel extends java.lang.Enum<ColorLabel>
Enum Constant and Description |
---|
BLACK
Black color.
|
BLUE
Blue color.
|
GREEN
Green color.
|
RED
Red color.
|
UNDEFINED
Color not detectable.
|
WHITE
White color.
|
YELLOW
Yellow color.
|
Modifier and Type | Method and Description |
---|---|
static ColorLabel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorLabel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorLabel UNDEFINED
public static final ColorLabel BLACK
public static final ColorLabel BLUE
public static final ColorLabel GREEN
public static final ColorLabel YELLOW
public static final ColorLabel RED
public static final ColorLabel WHITE
public static ColorLabel[] values()
for (ColorLabel c : ColorLabel.values()) System.out.println(c);
public static ColorLabel 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