Enum Class Colors

java.lang.Object
java.lang.Enum<Colors>
com.ultikits.ultitools.entities.Colors
All Implemented Interfaces:
Serializable, Comparable<Colors>, java.lang.constant.Constable

public enum Colors extends Enum<Colors>
  • Enum Constant Details

    • WHITE

      public static final Colors WHITE
    • ORANGE

      public static final Colors ORANGE
    • MAGENTA

      public static final Colors MAGENTA
    • LIGHT_BLUE

      public static final Colors LIGHT_BLUE
    • YELLOW

      public static final Colors YELLOW
    • LIME

      public static final Colors LIME
    • PINK

      public static final Colors PINK
    • GRAY

      public static final Colors GRAY
    • LIGHT_GRAY

      public static final Colors LIGHT_GRAY
    • CYAN

      public static final Colors CYAN
    • PURPLE

      public static final Colors PURPLE
    • BLUE

      public static final Colors BLUE
    • BROWN

      public static final Colors BROWN
    • GREEN

      public static final Colors GREEN
    • RED

      public static final Colors RED
    • BLACK

      public static final Colors BLACK
  • Field Details

    • code

      short code
  • Constructor Details

    • Colors

      private Colors(short code)
  • Method Details

    • values

      public static Colors[] 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 Colors 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
    • getCode

      public short getCode()