public static enum WheelLights.Lights extends java.lang.Enum<WheelLights.Lights>
Enum Constant and Description |
---|
ASYNC_LEFT
Only left wheel works.
|
ASYNC_RIGHT
Only right wheel works.
|
SYNC_BOTH
Both wheels work synchronically.
|
Modifier and Type | Method and Description |
---|---|
static WheelLights.Lights |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WheelLights.Lights[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WheelLights.Lights ASYNC_LEFT
public static final WheelLights.Lights ASYNC_RIGHT
public static final WheelLights.Lights SYNC_BOTH
public static WheelLights.Lights 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 static WheelLights.Lights[] values()
for (WheelLights.Lights c : WheelLights.Lights.values()) System.out.println(c);