Package org.team1540.rooster.util
Enum ChickenXboxController.XboxAxis
- java.lang.Object
-
- java.lang.Enum<ChickenXboxController.XboxAxis>
-
- org.team1540.rooster.util.ChickenXboxController.XboxAxis
-
- All Implemented Interfaces:
Serializable
,Comparable<ChickenXboxController.XboxAxis>
- Enclosing class:
- ChickenXboxController
public static enum ChickenXboxController.XboxAxis extends Enum<ChickenXboxController.XboxAxis>
-
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChickenXboxController.XboxAxis
of(int value)
static ChickenXboxController.XboxAxis
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChickenXboxController.XboxAxis[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT_X
public static final ChickenXboxController.XboxAxis LEFT_X
-
LEFT_Y
public static final ChickenXboxController.XboxAxis LEFT_Y
-
LEFT_TRIG
public static final ChickenXboxController.XboxAxis LEFT_TRIG
-
RIGHT_TRIG
public static final ChickenXboxController.XboxAxis RIGHT_TRIG
-
RIGHT_X
public static final ChickenXboxController.XboxAxis RIGHT_X
-
RIGHT_Y
public static final ChickenXboxController.XboxAxis RIGHT_Y
-
-
Method Detail
-
values
public static ChickenXboxController.XboxAxis[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ChickenXboxController.XboxAxis c : ChickenXboxController.XboxAxis.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChickenXboxController.XboxAxis valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
of
public static ChickenXboxController.XboxAxis of(int value)
-
-