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