Enum Constant and Description |
---|
ASCEND_DESCENT
Only tilt when ascending/descending
|
FORWARD_BACKWARD
Only tilt when going forward/backward
|
NONE
Never tilt
|
STEERING
Only tilt when steering (Bikes)
|
STEERING_AND_ASCEND_DESCENT
Only tilt when steering and ascending/descending (Planes)
|
STEERING_AND_FORWARD_BACKWARD
Only tilt when steering or when moving forward/backward
|
Modifier and Type | Method and Description |
---|---|
static TiltType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TiltType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiltType STEERING
public static final TiltType STEERING_AND_ASCEND_DESCENT
public static final TiltType ASCEND_DESCENT
public static final TiltType FORWARD_BACKWARD
public static final TiltType STEERING_AND_FORWARD_BACKWARD
public static final TiltType NONE
public static TiltType[] values()
for (TiltType c : TiltType.values()) System.out.println(c);
public static TiltType 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