Package com.jalios.jcms.ui
Enum Class Color
- All Implemented Interfaces:
Serializable,Comparable<Color>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
ORANGE_LIGHT
-
ORANGE
-
ORANGE_DEEP
-
ORANGE_DARK
-
YELLOW_LIGHT
-
YELLOW
-
YELLOW_DEEP
-
YELLOW_DARK
-
LIME_LIGHT
-
LIME
-
LIME_DEEP
-
LIME_DARK
-
GREEN_LIGHT
-
GREEN
-
GREEN_DEEP
-
GREEN_DARK
-
TURQUOISE_LIGHT
-
TURQUOISE
-
TURQUOISE_DEEP
-
TURQUOISE_DARK
-
CYAN_LIGHT
-
CYAN
-
CYAN_DEEP
-
CYAN_DARK
-
BLUE_LIGHT
-
BLUE
-
BLUE_DEEP
-
BLUE_DARK
-
PURPLE_LIGHT
-
PURPLE
-
PURPLE_DEEP
-
PURPLE_DARK
-
PINK_LIGHT
-
PINK
-
PINK_DEEP
-
PINK_DARK
-
RED_LIGHT
-
RED
-
RED_DEEP
-
RED_DARK
-
BEIGE_LIGHT
-
BEIGE
-
BEIGE_DEEP
-
BEIGE_DARK
-
GREY_NEUTRAL_LIGHT
-
GREY_NEUTRAL
-
GREY_NEUTRAL_DEEP
-
GREY_NEUTRAL_DARK
-
GREYBLUE_LIGHT
-
GREYBLUE
-
GREYBLUE_DEEP
-
GREYBLUE_DARK
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getCssName
-
getValue
-
getLabel
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
-