Package de.xima.fc.color
Enum ENamedCssColor
- java.lang.Object
-
- java.lang.Enum<ENamedCssColor>
-
- de.xima.fc.color.ENamedCssColor
-
- All Implemented Interfaces:
Serializable
,Comparable<ENamedCssColor>
public enum ENamedCssColor extends Enum<ENamedCssColor>
Enumeration of CSS color name, together with the usual color values.- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CssColor
getColor()
RgbaQuadruplet
toRgbaQuadruplet()
RgbTriplet
toRgbTriplet()
String
toString()
static ENamedCssColor
valueOf(String name)
Returns the enum constant of this type with the specified name.static ENamedCssColor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
aliceblue
public static final ENamedCssColor aliceblue
-
antiquewhite
public static final ENamedCssColor antiquewhite
-
aqua
public static final ENamedCssColor aqua
-
aquamarine
public static final ENamedCssColor aquamarine
-
azure
public static final ENamedCssColor azure
-
beige
public static final ENamedCssColor beige
-
bisque
public static final ENamedCssColor bisque
-
black
public static final ENamedCssColor black
-
blanchedalmond
public static final ENamedCssColor blanchedalmond
-
blue
public static final ENamedCssColor blue
-
blueviolet
public static final ENamedCssColor blueviolet
-
brown
public static final ENamedCssColor brown
-
burlywood
public static final ENamedCssColor burlywood
-
cadetblue
public static final ENamedCssColor cadetblue
-
chartreuse
public static final ENamedCssColor chartreuse
-
chocolate
public static final ENamedCssColor chocolate
-
coral
public static final ENamedCssColor coral
-
cornflowerblue
public static final ENamedCssColor cornflowerblue
-
cornsilk
public static final ENamedCssColor cornsilk
-
crimson
public static final ENamedCssColor crimson
-
cyan
public static final ENamedCssColor cyan
-
darkblue
public static final ENamedCssColor darkblue
-
darkcyan
public static final ENamedCssColor darkcyan
-
darkgoldenrod
public static final ENamedCssColor darkgoldenrod
-
darkgray
public static final ENamedCssColor darkgray
-
darkgreen
public static final ENamedCssColor darkgreen
-
darkgrey
public static final ENamedCssColor darkgrey
-
darkkhaki
public static final ENamedCssColor darkkhaki
-
darkmagenta
public static final ENamedCssColor darkmagenta
-
darkolivegreen
public static final ENamedCssColor darkolivegreen
-
darkorange
public static final ENamedCssColor darkorange
-
darkorchid
public static final ENamedCssColor darkorchid
-
darkred
public static final ENamedCssColor darkred
-
darksalmon
public static final ENamedCssColor darksalmon
-
darkseagreen
public static final ENamedCssColor darkseagreen
-
darkslateblue
public static final ENamedCssColor darkslateblue
-
darkslategray
public static final ENamedCssColor darkslategray
-
darkslategrey
public static final ENamedCssColor darkslategrey
-
darkturquoise
public static final ENamedCssColor darkturquoise
-
darkviolet
public static final ENamedCssColor darkviolet
-
deeppink
public static final ENamedCssColor deeppink
-
deepskyblue
public static final ENamedCssColor deepskyblue
-
dimgray
public static final ENamedCssColor dimgray
-
dimgrey
public static final ENamedCssColor dimgrey
-
dodgerblue
public static final ENamedCssColor dodgerblue
-
firebrick
public static final ENamedCssColor firebrick
-
floralwhite
public static final ENamedCssColor floralwhite
-
forestgreen
public static final ENamedCssColor forestgreen
-
fuchsia
public static final ENamedCssColor fuchsia
-
gainsboro
public static final ENamedCssColor gainsboro
-
ghostwhite
public static final ENamedCssColor ghostwhite
-
gold
public static final ENamedCssColor gold
-
goldenrod
public static final ENamedCssColor goldenrod
-
gray
public static final ENamedCssColor gray
-
green
public static final ENamedCssColor green
-
greenyellow
public static final ENamedCssColor greenyellow
-
grey
public static final ENamedCssColor grey
-
honeydew
public static final ENamedCssColor honeydew
-
hotpink
public static final ENamedCssColor hotpink
-
indianred
public static final ENamedCssColor indianred
-
indigo
public static final ENamedCssColor indigo
-
ivory
public static final ENamedCssColor ivory
-
khaki
public static final ENamedCssColor khaki
-
lavender
public static final ENamedCssColor lavender
-
lavenderblush
public static final ENamedCssColor lavenderblush
-
lawngreen
public static final ENamedCssColor lawngreen
-
lemonchiffon
public static final ENamedCssColor lemonchiffon
-
lightblue
public static final ENamedCssColor lightblue
-
lightcoral
public static final ENamedCssColor lightcoral
-
lightcyan
public static final ENamedCssColor lightcyan
-
lightgoldenrodyellow
public static final ENamedCssColor lightgoldenrodyellow
-
lightgray
public static final ENamedCssColor lightgray
-
lightgreen
public static final ENamedCssColor lightgreen
-
lightgrey
public static final ENamedCssColor lightgrey
-
lightpink
public static final ENamedCssColor lightpink
-
lightsalmon
public static final ENamedCssColor lightsalmon
-
lightseagreen
public static final ENamedCssColor lightseagreen
-
lightskyblue
public static final ENamedCssColor lightskyblue
-
lightslategray
public static final ENamedCssColor lightslategray
-
lightslategrey
public static final ENamedCssColor lightslategrey
-
lightsteelblue
public static final ENamedCssColor lightsteelblue
-
lightyellow
public static final ENamedCssColor lightyellow
-
lime
public static final ENamedCssColor lime
-
limegreen
public static final ENamedCssColor limegreen
-
linen
public static final ENamedCssColor linen
-
magenta
public static final ENamedCssColor magenta
-
maroon
public static final ENamedCssColor maroon
-
mediumaquamarine
public static final ENamedCssColor mediumaquamarine
-
mediumblue
public static final ENamedCssColor mediumblue
-
mediumorchid
public static final ENamedCssColor mediumorchid
-
mediumpurple
public static final ENamedCssColor mediumpurple
-
mediumseagreen
public static final ENamedCssColor mediumseagreen
-
mediumslateblue
public static final ENamedCssColor mediumslateblue
-
mediumspringgreen
public static final ENamedCssColor mediumspringgreen
-
mediumturquoise
public static final ENamedCssColor mediumturquoise
-
mediumvioletred
public static final ENamedCssColor mediumvioletred
-
midnightblue
public static final ENamedCssColor midnightblue
-
mintcream
public static final ENamedCssColor mintcream
-
mistyrose
public static final ENamedCssColor mistyrose
-
moccasin
public static final ENamedCssColor moccasin
-
navajowhite
public static final ENamedCssColor navajowhite
-
navy
public static final ENamedCssColor navy
-
oldlace
public static final ENamedCssColor oldlace
-
olive
public static final ENamedCssColor olive
-
olivedrab
public static final ENamedCssColor olivedrab
-
orange
public static final ENamedCssColor orange
-
orangered
public static final ENamedCssColor orangered
-
orchid
public static final ENamedCssColor orchid
-
palegoldenrod
public static final ENamedCssColor palegoldenrod
-
palegreen
public static final ENamedCssColor palegreen
-
paleturquoise
public static final ENamedCssColor paleturquoise
-
palevioletred
public static final ENamedCssColor palevioletred
-
papayawhip
public static final ENamedCssColor papayawhip
-
peachpuff
public static final ENamedCssColor peachpuff
-
peru
public static final ENamedCssColor peru
-
pink
public static final ENamedCssColor pink
-
plum
public static final ENamedCssColor plum
-
powderblue
public static final ENamedCssColor powderblue
-
purple
public static final ENamedCssColor purple
-
rebeccapurple
public static final ENamedCssColor rebeccapurple
-
red
public static final ENamedCssColor red
-
rosybrown
public static final ENamedCssColor rosybrown
-
royalblue
public static final ENamedCssColor royalblue
-
saddlebrown
public static final ENamedCssColor saddlebrown
-
salmon
public static final ENamedCssColor salmon
-
sandybrown
public static final ENamedCssColor sandybrown
-
seagreen
public static final ENamedCssColor seagreen
-
seashell
public static final ENamedCssColor seashell
-
sienna
public static final ENamedCssColor sienna
-
silver
public static final ENamedCssColor silver
-
skyblue
public static final ENamedCssColor skyblue
-
slateblue
public static final ENamedCssColor slateblue
-
slategray
public static final ENamedCssColor slategray
-
slategrey
public static final ENamedCssColor slategrey
-
snow
public static final ENamedCssColor snow
-
springgreen
public static final ENamedCssColor springgreen
-
steelblue
public static final ENamedCssColor steelblue
-
tan
public static final ENamedCssColor tan
-
teal
public static final ENamedCssColor teal
-
thistle
public static final ENamedCssColor thistle
-
tomato
public static final ENamedCssColor tomato
-
transparent
public static final ENamedCssColor transparent
-
turquoise
public static final ENamedCssColor turquoise
-
violet
public static final ENamedCssColor violet
-
wheat
public static final ENamedCssColor wheat
-
white
public static final ENamedCssColor white
-
whitesmoke
public static final ENamedCssColor whitesmoke
-
yellow
public static final ENamedCssColor yellow
-
yellowgreen
public static final ENamedCssColor yellowgreen
-
-
Field Detail
-
color
public final CssColor color
-
-
Method Detail
-
values
public static ENamedCssColor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ENamedCssColor c : ENamedCssColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ENamedCssColor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getColor
public CssColor getColor()
-
toString
public String toString()
- Overrides:
toString
in classEnum<ENamedCssColor>
-
toRgbTriplet
public RgbTriplet toRgbTriplet()
-
toRgbaQuadruplet
public RgbaQuadruplet toRgbaQuadruplet()
-
-