Package trclib.driverio
Enum Class TrcRevBlinkin.RevLedPattern
- All Implemented Interfaces:
Serializable
,Comparable<TrcRevBlinkin.RevLedPattern>
,Constable
- Enclosing class:
- TrcRevBlinkin
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RevLedPattern
(double value) Constructor: Creates an enum member. -
Method Summary
Modifier and TypeMethodDescriptionstatic TrcRevBlinkin.RevLedPattern
getPattern
(double value) This method looks up the enum member that matches the given value.static TrcRevBlinkin.RevLedPattern
Returns the enum constant of this class with the specified name.static TrcRevBlinkin.RevLedPattern[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FixedRainbowRainBow
-
FixedRainbowParty
-
FixedRainbowOcean
-
FixedRainbowLave
-
FixedRainbowForest
-
FixedRainbowGlitter
-
FixedConfetti
-
FixedShotRed
-
FixedShotBlue
-
FixedShotWhite
-
FixedSinelonRainbow
-
FixedSinelonParty
-
FixedSinelonOcean
-
FixedSinelonLava
-
FixedSinelonForest
-
FixedBeatsPerMinuteRainbow
-
FixedBeatsPerMinuteParty
-
FixedBeatsPerMinuteOcean
-
FixedBeatsPerMinuteLave
-
FixedBeatsPerMinuteForest
-
FixedFireMedium
-
FixedFireLarge
-
FixedTwinklesRainbow
-
FixedTwinklesParty
-
FixedTwinklesOcean
-
FixedTwinklesLava
-
FixedTwinklesForest
-
FixedColorWavesRainbow
-
FixedColorWavesParty
-
FixedColorWavesOcean
-
FixedColorWavesLava
-
FixedColorWavesForest
-
FixedLarsonScannerRed
-
FixedLarsonScannerGray
-
FixedLightChaseRed
-
FixedLightChaseBlue
-
FixedLightChaseGray
-
FixedHeartbeatRed
-
FixedHeartbeatBlue
-
FixedHeartbeatWhite
-
FixedHeartbeatGray
-
FixedBreathRed
-
FixedBreathBlue
-
FixedBreathGray
-
FixedStrobeRed
-
FixedStrobeBlue
-
FixedStrobeGold
-
FixedStrobeWhite
-
Color1EndToEndBlendToBlack
-
Color1LarsonScanner
-
Color1LightChase
-
Color1HeartbeatSlow
-
Color1HeartbeatMedium
-
Color1HeartbeatFast
-
Color1BreathSlow
-
Color1BreathFast
-
Color1Shot
-
Color1Strobe
-
Color2EndToEndBlendToBlack
-
Color2LarsonScanner
-
Color2LightChase
-
Color2HeartbeatSlow
-
Color2HeartbeatMedium
-
Color2HeartbeatFast
-
Color2BreathSlow
-
Color2BreathFast
-
Color2Shot
-
Color2Strobe
-
SparkleColor1On2
-
SparkleColor2On1
-
GradientColor1And2
-
BeatsPerMinuteColor1And2
-
EndToEndBlendColor1To2
-
EndToEndBlendColor1And2
-
Color1And2NoBlending
-
TwinklesColor1And2
-
ColorWavesColor1And2
-
SinelonColor1And2
-
SolidHotPink
-
SolidDarkRed
-
SolidRed
-
SolidRedOrange
-
SolidOrange
-
SolidGold
-
SolidYellow
-
SolidLawnGreen
-
SolidLime
-
SolidDarkGreen
-
SolidGreen
-
SolidBlueGreen
-
SolidAqua
-
SolidSkyBlue
-
SolidDarkBlue
-
SolidBlue
-
SolidBlueViolet
-
SolidViolet
-
SolidWhite
-
SolidGray
-
SolidDarkGray
-
SolidBlack
-
-
Field Details
-
value
public final double value
-
-
Constructor Details
-
RevLedPattern
private RevLedPattern(double value) Constructor: Creates an enum member.- Parameters:
value
- specifies the value of the new member.
-
-
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
-
getPattern
This method looks up the enum member that matches the given value.- Parameters:
value
- specifies the enum member value.- Returns:
- enum member with a matching value.
-