public static enum States.Color extends Enum<States.Color>
Modifier and Type | Method and Description |
---|---|
static States.Color |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static States.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final States.Color GREEN
public static final States.Color YELLOW
public static final States.Color RED
public static States.Color[] values()
for (States.Color c : States.Color.values()) System.out.println(c);
public static States.Color valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004-2015. All Rights Reserved.