public enum TiltModes extends Enum<TiltModes>
Enum Constant and Description |
---|
ELECTRICAL_ONLY |
MECHANICAL_ONLY |
Modifier and Type | Method and Description |
---|---|
static TiltModes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiltModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiltModes ELECTRICAL_ONLY
public static final TiltModes MECHANICAL_ONLY
public static TiltModes[] values()
for (TiltModes c : TiltModes.values()) System.out.println(c);
public static TiltModes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.