Enum Class StandardColor

java.lang.Object
java.lang.Enum<StandardColor>
eu.webtoolkit.jwt.StandardColor
All Implemented Interfaces:
Serializable, Comparable<StandardColor>, Constable

public enum StandardColor extends Enum<StandardColor>
Enumeration for predefined colors.
  • Enum Constant Details

    • White

      public static final StandardColor White
      Color white.
    • Black

      public static final StandardColor Black
      Color black.
    • Red

      public static final StandardColor Red
      Color red.
    • DarkRed

      public static final StandardColor DarkRed
      Color dark red.
    • Green

      public static final StandardColor Green
      Color green.
    • DarkGreen

      public static final StandardColor DarkGreen
      Color dark green.
    • Blue

      public static final StandardColor Blue
      Color blue.
    • DarkBlue

      public static final StandardColor DarkBlue
      Color dark blue.
    • Cyan

      public static final StandardColor Cyan
      Color cyan.
    • DarkCyan

      public static final StandardColor DarkCyan
      Color dark cyan.
    • Magenta

      public static final StandardColor Magenta
      Color magenta.
    • DarkMagenta

      public static final StandardColor DarkMagenta
      Color dark magenta.
    • Yellow

      public static final StandardColor Yellow
      Color yellow.
    • DarkYellow

      public static final StandardColor DarkYellow
      Color dark yellow.
    • Gray

      public static final StandardColor Gray
      Color medium gray.
    • DarkGray

      public static final StandardColor DarkGray
      Color dark gray.
    • LightGray

      public static final StandardColor LightGray
      Color light gray.
    • Transparent

      public static final StandardColor Transparent
      Color transparent.
  • Method Details

    • values

      public static StandardColor[] 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 StandardColor 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
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.