public static enum CANTalon.FeedbackDevice extends java.lang.Enum<CANTalon.FeedbackDevice>
Enum Constant and Description |
---|
AnalogEncoder |
AnalogPot |
EncFalling |
EncRising |
QuadEncoder |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static CANTalon.FeedbackDevice |
valueOf(int value) |
static CANTalon.FeedbackDevice |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CANTalon.FeedbackDevice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CANTalon.FeedbackDevice QuadEncoder
public static final CANTalon.FeedbackDevice AnalogPot
public static final CANTalon.FeedbackDevice AnalogEncoder
public static final CANTalon.FeedbackDevice EncRising
public static final CANTalon.FeedbackDevice EncFalling
public int value
public static CANTalon.FeedbackDevice[] values()
for (CANTalon.FeedbackDevice c : CANTalon.FeedbackDevice.values()) System.out.println(c);
public static CANTalon.FeedbackDevice 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 nullpublic static CANTalon.FeedbackDevice valueOf(int value)