Enum Class LEDIO.State

java.lang.Object
java.lang.Enum<LEDIO.State>
com.marslib.hmi.LEDIO.State
All Implemented Interfaces:
Serializable, Comparable<LEDIO.State>, Constable
Enclosing interface:
LEDIO

public static enum LEDIO.State extends Enum<LEDIO.State>
The discrete visual states an LED strip can render.
  • Enum Constant Details

    • DEFAULT

      public static final LEDIO.State DEFAULT
      Default idle pattern (e.g., solid team color).
    • LOAD_SHEDDING

      public static final LEDIO.State LOAD_SHEDDING
      Warning pattern indicating active power load shedding.
    • CRITICAL_FAULT

      public static final LEDIO.State CRITICAL_FAULT
      Critical fault flash pattern (e.g., flashing red).
  • Method Details

    • values

      public static LEDIO.State[] 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 LEDIO.State 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