Package de.espirit.firstspirit.webedit
Enum Class WebeditColor
- All Implemented Interfaces:
Serializable
,Comparable<WebeditColor>
,Constable
Colors compatible with the Webedit color theme.
- Since:
- 5.2.516
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescription@NotNull String
getHEX()
Returns the HEX value representing the color in the sRGB color model (e.g.int
getRGB()
Returns the RGB value representing the color in the sRGB color model.static WebeditColor
Returns the enum constant of this class with the specified name.static WebeditColor[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLUEBERRY
- Since:
- 5.2.516
-
BUBBLEGUM
- Since:
- 5.2.516
-
PEPPERMINT
- Since:
- 5.2.516
-
ARUGULA
- Since:
- 5.2.516
-
BASIL
- Since:
- 5.2.516
-
KIWI
- Since:
- 5.2.516
-
VANILLA
- Since:
- 5.2.516
-
CARAMEL
- Since:
- 5.2.516
-
MILKCHOCOLATE
- Since:
- 5.2.516
-
DARKCHOCOLATE
- Since:
- 5.2.516
-
CHERRY
- Since:
- 5.2.516
-
STRAWBERRY
- Since:
- 5.2.516
-
LAVENDER
- Since:
- 5.2.516
-
PLUM
- Since:
- 5.2.516
-
SHARK
- Since:
- 5.2.516
-
LICORICE
- Since:
- 5.2.516
-
-
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
-
getHEX
Returns the HEX value representing the color in the sRGB color model (e.g. #ffffff).- Returns:
- the HEX value.
- Since:
- 5.2.516
-
getRGB
public int getRGB()Returns the RGB value representing the color in the sRGB color model.- Returns:
- the RGB value.
- Since:
- 5.2.516
-