public static enum LED.ColorChannel extends java.lang.Enum<LED.ColorChannel>
Modifier and Type | Field and Description |
---|---|
static LED.ColorChannel[] |
values
Helper variable to keep a reference of the values
|
Modifier and Type | Method and Description |
---|---|
static LED.ColorChannel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LED.ColorChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LED.ColorChannel GREEN
public static final LED.ColorChannel RED
public static final LED.ColorChannel BLUE
public static LED.ColorChannel[] values
public static LED.ColorChannel[] values()
for (LED.ColorChannel c : LED.ColorChannel.values()) System.out.println(c);
public static LED.ColorChannel 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