Package com.ctre.phoenix6.signals
Enum Class StripTypeValue
- All Implemented Interfaces:
Serializable,Comparable<StripTypeValue>,java.lang.constant.Constable
The type of LEDs that are being controlled.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLEDs that are controlled by Blue-Red-Green values.LEDs that are controlled by Blue-Red-Green-White values.LEDs that are controlled by Green-Red-Blue values.LEDs that are controlled by Green-Red-Blue-White values.LEDs that are controlled by Red-Green-Blue values.LEDs that are controlled by Red-Green-Blue-White values. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StripTypeValuevalueOf(int value) Gets StripTypeValue from specified valuestatic StripTypeValueReturns the enum constant of this class with the specified name.static StripTypeValue[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GRB
LEDs that are controlled by Green-Red-Blue values. -
RGB
LEDs that are controlled by Red-Green-Blue values. -
BRG
LEDs that are controlled by Blue-Red-Green values. -
GRBW
LEDs that are controlled by Green-Red-Blue-White values. -
RGBW
LEDs that are controlled by Red-Green-Blue-White values. -
BRGW
LEDs that are controlled by Blue-Red-Green-White values.
-
-
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 StripTypeValue from specified value- Parameters:
value- Value of StripTypeValue- Returns:
- StripTypeValue of specified value
-