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