public static enum CANTalon.FeedbackDevice extends 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(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 static CANTalon.FeedbackDevice[] values()
for (CANTalon.FeedbackDevice c : CANTalon.FeedbackDevice.values()) System.out.println(c);
public static CANTalon.FeedbackDevice 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 nullpublic static CANTalon.FeedbackDevice valueOf(int value)
Copyright © 2015. All rights reserved.