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