Package com.crossbotics.ftchelper.robot
Enum Class Feature.Kind
- All Implemented Interfaces:
Serializable,Comparable<Feature.Kind>,Constable
- Enclosing class:
Feature
Where it is used.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Feature.KindReturns the enum constant of this class with the specified name.static Feature.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.words()"auto step", "action", "TeleOp toggle", "automatic".
-
Enum Constant Details
-
AUTO_STEP
A step in an autonomous (Steps), e.g..aimAtGoal("Aim", 3). -
ACTION
An action, for an autonomous (.action(...)) or a TeleOp button (g1.y.press(...)). -
TOGGLE
A TeleOp on/off switch for a button, in Controls.java. -
AUTOMATIC
On by itself: nothing to write.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
words
"auto step", "action", "TeleOp toggle", "automatic".
-