public static enum WheelLights.Speed extends java.lang.Enum<WheelLights.Speed>
Enum Constant and Description |
---|
DEFAULT |
FASTER_1 |
FASTER_2 |
SLOWER_1 |
SLOWER_2 |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static WheelLights.Speed |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WheelLights.Speed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WheelLights.Speed DEFAULT
public static final WheelLights.Speed FASTER_1
public static final WheelLights.Speed FASTER_2
public static final WheelLights.Speed SLOWER_1
public static final WheelLights.Speed SLOWER_2
public int getValue()
public static WheelLights.Speed 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.Speed[] values()
for (WheelLights.Speed c : WheelLights.Speed.values()) System.out.println(c);