public static enum Color.Intensity extends java.lang.Enum<Color.Intensity>
| Modifier and Type | Method and Description |
|---|---|
int |
getValue(Color.Type type) |
static Color.Intensity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Color.Intensity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Color.Intensity NORMAL
public static final Color.Intensity BRIGHT
public static Color.Intensity[] values()
for (Color.Intensity c : Color.Intensity.values()) System.out.println(c);
public static Color.Intensity 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 int getValue(Color.Type type)