public static enum DecodedControlAction.Motor extends java.lang.Enum<DecodedControlAction.Motor>
All motor ports and possible combinations without repetitions.
| Enum Constant and Description |
|---|
MOTOR_A |
MOTOR_AB |
MOTOR_ABC |
MOTOR_AC |
MOTOR_B |
MOTOR_BC |
MOTOR_C |
| Modifier and Type | Method and Description |
|---|---|
static DecodedControlAction.Motor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DecodedControlAction.Motor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecodedControlAction.Motor MOTOR_A
public static final DecodedControlAction.Motor MOTOR_B
public static final DecodedControlAction.Motor MOTOR_C
public static final DecodedControlAction.Motor MOTOR_AB
public static final DecodedControlAction.Motor MOTOR_AC
public static final DecodedControlAction.Motor MOTOR_BC
public static final DecodedControlAction.Motor MOTOR_ABC
public static DecodedControlAction.Motor[] values()
for (DecodedControlAction.Motor c : DecodedControlAction.Motor.values()) System.out.println(c);
public static DecodedControlAction.Motor 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