Package ca.team3161.lib.utils.controls
Enum LogitechDualAction.DpadDirection
- java.lang.Object
-
- java.lang.Enum<LogitechDualAction.DpadDirection>
-
- ca.team3161.lib.utils.controls.LogitechDualAction.DpadDirection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LogitechDualAction.DpadDirection>
- Enclosing class:
- LogitechDualAction
public static enum LogitechDualAction.DpadDirection extends java.lang.Enum<LogitechDualAction.DpadDirection>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAngle()
static LogitechDualAction.DpadDirection
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogitechDualAction.DpadDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final LogitechDualAction.DpadDirection NONE
-
UP
public static final LogitechDualAction.DpadDirection UP
-
UP_RIGHT
public static final LogitechDualAction.DpadDirection UP_RIGHT
-
RIGHT
public static final LogitechDualAction.DpadDirection RIGHT
-
DOWN_RIGHT
public static final LogitechDualAction.DpadDirection DOWN_RIGHT
-
DOWN
public static final LogitechDualAction.DpadDirection DOWN
-
DOWN_LEFT
public static final LogitechDualAction.DpadDirection DOWN_LEFT
-
LEFT
public static final LogitechDualAction.DpadDirection LEFT
-
UP_LEFT
public static final LogitechDualAction.DpadDirection UP_LEFT
-
-
Method Detail
-
values
public static LogitechDualAction.DpadDirection[] 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 (LogitechDualAction.DpadDirection c : LogitechDualAction.DpadDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogitechDualAction.DpadDirection valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getAngle
public int getAngle()
-
-