Enum Class Color

java.lang.Object
java.lang.Enum<Color>
com.jalios.jcms.ui.Color
All Implemented Interfaces:
Serializable, Comparable<Color>, Constable

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

    • ORANGE_LIGHT

      public static final Color ORANGE_LIGHT
    • ORANGE

      public static final Color ORANGE
    • ORANGE_DEEP

      public static final Color ORANGE_DEEP
    • ORANGE_DARK

      public static final Color ORANGE_DARK
    • YELLOW_LIGHT

      public static final Color YELLOW_LIGHT
    • YELLOW

      public static final Color YELLOW
    • YELLOW_DEEP

      public static final Color YELLOW_DEEP
    • YELLOW_DARK

      public static final Color YELLOW_DARK
    • LIME_LIGHT

      public static final Color LIME_LIGHT
    • LIME

      public static final Color LIME
    • LIME_DEEP

      public static final Color LIME_DEEP
    • LIME_DARK

      public static final Color LIME_DARK
    • GREEN_LIGHT

      public static final Color GREEN_LIGHT
    • GREEN

      public static final Color GREEN
    • GREEN_DEEP

      public static final Color GREEN_DEEP
    • GREEN_DARK

      public static final Color GREEN_DARK
    • TURQUOISE_LIGHT

      public static final Color TURQUOISE_LIGHT
    • TURQUOISE

      public static final Color TURQUOISE
    • TURQUOISE_DEEP

      public static final Color TURQUOISE_DEEP
    • TURQUOISE_DARK

      public static final Color TURQUOISE_DARK
    • CYAN_LIGHT

      public static final Color CYAN_LIGHT
    • CYAN

      public static final Color CYAN
    • CYAN_DEEP

      public static final Color CYAN_DEEP
    • CYAN_DARK

      public static final Color CYAN_DARK
    • BLUE_LIGHT

      public static final Color BLUE_LIGHT
    • BLUE

      public static final Color BLUE
    • BLUE_DEEP

      public static final Color BLUE_DEEP
    • BLUE_DARK

      public static final Color BLUE_DARK
    • PURPLE_LIGHT

      public static final Color PURPLE_LIGHT
    • PURPLE

      public static final Color PURPLE
    • PURPLE_DEEP

      public static final Color PURPLE_DEEP
    • PURPLE_DARK

      public static final Color PURPLE_DARK
    • PINK_LIGHT

      public static final Color PINK_LIGHT
    • PINK

      public static final Color PINK
    • PINK_DEEP

      public static final Color PINK_DEEP
    • PINK_DARK

      public static final Color PINK_DARK
    • RED_LIGHT

      public static final Color RED_LIGHT
    • RED

      public static final Color RED
    • RED_DEEP

      public static final Color RED_DEEP
    • RED_DARK

      public static final Color RED_DARK
    • BEIGE_LIGHT

      public static final Color BEIGE_LIGHT
    • BEIGE

      public static final Color BEIGE
    • BEIGE_DEEP

      public static final Color BEIGE_DEEP
    • BEIGE_DARK

      public static final Color BEIGE_DARK
    • GREY_NEUTRAL_LIGHT

      public static final Color GREY_NEUTRAL_LIGHT
    • GREY_NEUTRAL

      public static final Color GREY_NEUTRAL
    • GREY_NEUTRAL_DEEP

      public static final Color GREY_NEUTRAL_DEEP
    • GREY_NEUTRAL_DARK

      public static final Color GREY_NEUTRAL_DARK
    • GREYBLUE_LIGHT

      public static final Color GREYBLUE_LIGHT
    • GREYBLUE

      public static final Color GREYBLUE
    • GREYBLUE_DEEP

      public static final Color GREYBLUE_DEEP
    • GREYBLUE_DARK

      public static final Color GREYBLUE_DARK
  • Method Details

    • values

      public static Color[] 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 Color 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
    • getCssName

      public String getCssName()
    • getValue

      public String getValue()
    • getLabel

      public String getLabel(String lang)
      Retrieve an I18N label for this color
      Parameters:
      lang - the ISO-639 language code in which to retrieve the colorname
      Returns:
      a I18N string of the colorname, or the hexadecimal colorcode if it could not be translated
      Since:
      jcms-10.0.5
    • asColor

      public Color asColor()