Package com.ctre.phoenix.led
Enum CANdle.LEDStripType
- All Implemented Interfaces:
Serializable
,Comparable<CANdle.LEDStripType>
,java.lang.constant.Constable
- Enclosing class:
- CANdle
public static enum CANdle.LEDStripType extends Enum<CANdle.LEDStripType>
The various LED types that the CANdle can support
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BRG
LEDs that are controlled by Blue-Red-Green valuesBRGW
LEDs that are controlled by Blue-Red-Green-White valuesGRB
LEDs that are controlled by Green-Red-Blue valuesGRBW
LEDs that are controlled by Green-Red-Blue-White valuesRGB
LEDs that are controlled by Red-Green-Blue valuesRGBW
LEDs that are controlled by Red-Green-Blue-White values -
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
Modifier and Type Method Description static CANdle.LEDStripType
valueOf(double value)
Get LEDStripType of specified valuestatic CANdle.LEDStripType
valueOf(int value)
Get LEDStripType of specified valuestatic CANdle.LEDStripType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CANdle.LEDStripType[]
values()
Returns an array containing the constants of this enum type, 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
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Get LEDStripType of specified value- Parameters:
value
- value of LEDStripType- Returns:
- LEDStripType of specified value
-
valueOf
Get LEDStripType of specified value- Parameters:
value
- value of LEDStripType- Returns:
- LEDStripType of specified value
-