Package eu.webtoolkit.jwt
Enum Class StandardColor
- All Implemented Interfaces:
Serializable
,Comparable<StandardColor>
,Constable
Enumeration for predefined colors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionColor black.Color blue.Color cyan.Color dark blue.Color dark cyan.Color dark gray.Color dark green.Color dark magenta.Color dark red.Color dark yellow.Color medium gray.Color green.Color light gray.Color magenta.Color red.Color transparent.Color white.Color yellow. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the numerical representation of this enum.static StandardColor
Returns the enum constant of this class with the specified name.static StandardColor[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
White
Color white. -
Black
Color black. -
Red
Color red. -
DarkRed
Color dark red. -
Green
Color green. -
DarkGreen
Color dark green. -
Blue
Color blue. -
DarkBlue
Color dark blue. -
Cyan
Color cyan. -
DarkCyan
Color dark cyan. -
Magenta
Color magenta. -
DarkMagenta
Color dark magenta. -
Yellow
Color yellow. -
DarkYellow
Color dark yellow. -
Gray
Color medium gray. -
DarkGray
Color dark gray. -
LightGray
Color light gray. -
Transparent
Color transparent.
-
-
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
-
getValue
public int getValue()Returns the numerical representation of this enum.
-