Package com.ctre.phoenix6.signals
Enum Class Animation7TypeValue
- All Implemented Interfaces:
Serializable,Comparable<Animation7TypeValue>,java.lang.constant.Constable
The type of animation running in slot 7 of the CANdle.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionColor flow animation.No animation.Fire animation.Larson animation.Rainbow animation.RGB Fade animation.Single fade animation.Strobe animation.Twinkle animation.Twinkle off animation. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Animation7TypeValuevalueOf(int value) Gets Animation7TypeValue from specified valuestatic Animation7TypeValueReturns the enum constant of this class with the specified name.static Animation7TypeValue[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Empty
No animation. -
ColorFlow
Color flow animation. -
Fire
Fire animation. -
Larson
Larson animation. -
Rainbow
Rainbow animation. -
RgbFade
RGB Fade animation. -
SingleFade
Single fade animation. -
Strobe
Strobe animation. -
Twinkle
Twinkle animation. -
TwinkleOff
Twinkle off animation.
-
-
Field Details
-
value
-
-
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
-
valueOf
Gets Animation7TypeValue from specified value- Parameters:
value- Value of Animation7TypeValue- Returns:
- Animation7TypeValue of specified value
-