Enum Class StripTypeValue

java.lang.Object
java.lang.Enum<StripTypeValue>
com.ctre.phoenix6.signals.StripTypeValue
All Implemented Interfaces:
Serializable, Comparable<StripTypeValue>, Constable

public enum StripTypeValue extends Enum<StripTypeValue>
The type of LEDs that are being controlled.
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    LEDs 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
    Modifier and Type
    Field
    Description
    final int
    Unique integer value of this StripTypeValue.
  • Method Summary

    Modifier and Type
    Method
    Description
    valueOf(int value)
    Gets StripTypeValue from specified value
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • GRB

      public static final StripTypeValue GRB
      LEDs that are controlled by Green-Red-Blue values.
    • RGB

      public static final StripTypeValue RGB
      LEDs that are controlled by Red-Green-Blue values.
    • BRG

      public static final StripTypeValue BRG
      LEDs that are controlled by Blue-Red-Green values.
    • GRBW

      public static final StripTypeValue GRBW
      LEDs that are controlled by Green-Red-Blue-White values.
    • RGBW

      public static final StripTypeValue RGBW
      LEDs that are controlled by Red-Green-Blue-White values.
    • BRGW

      public static final StripTypeValue BRGW
      LEDs that are controlled by Blue-Red-Green-White values.
  • Field Details

    • value

      public final int value
      Unique integer value of this StripTypeValue.
  • Method Details

    • values

      public static StripTypeValue[] 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

      public static StripTypeValue valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • valueOf

      public static StripTypeValue valueOf(int value)
      Gets StripTypeValue from specified value
      Parameters:
      value - Value of StripTypeValue
      Returns:
      StripTypeValue of specified value