Package de.xima.fc.gui.common.enums
Enum EWebColors
- java.lang.Object
-
- java.lang.Enum<EWebColors>
-
- de.xima.fc.gui.common.enums.EWebColors
-
- All Implemented Interfaces:
IGuiColor
,Serializable
,Comparable<EWebColors>
public enum EWebColors extends Enum<EWebColors> implements IGuiColor
Color palette with the named colors as defined by the CSS standard.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
EColorPalette
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Serializable>
TgetField(IColorField<T> field)
Finds the value of the given color palette field.com.google.common.collect.ImmutableSet<IColorField<?>>
getSupportedFields()
static EWebColors
valueOf(String name)
Returns the enum constant of this type with the specified name.static EWebColors[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface de.xima.fc.interfaces.color.IGuiColor
getStyleBackground, getStyleClassBackground, getStyleClassTextOnWhite, getStyleTextOnWhite, supportsField
-
-
-
-
Enum Constant Detail
-
aliceblue
public static final EWebColors aliceblue
-
antiquewhite
public static final EWebColors antiquewhite
-
aqua
public static final EWebColors aqua
-
aquamarine
public static final EWebColors aquamarine
-
azure
public static final EWebColors azure
-
beige
public static final EWebColors beige
-
bisque
public static final EWebColors bisque
-
black
public static final EWebColors black
-
blanchedalmond
public static final EWebColors blanchedalmond
-
blue
public static final EWebColors blue
-
blueviolet
public static final EWebColors blueviolet
-
brown
public static final EWebColors brown
-
burlywood
public static final EWebColors burlywood
-
cadetblue
public static final EWebColors cadetblue
-
chartreuse
public static final EWebColors chartreuse
-
chocolate
public static final EWebColors chocolate
-
coral
public static final EWebColors coral
-
cornflowerblue
public static final EWebColors cornflowerblue
-
cornsilk
public static final EWebColors cornsilk
-
crimson
public static final EWebColors crimson
-
cyan
public static final EWebColors cyan
-
darkblue
public static final EWebColors darkblue
-
darkcyan
public static final EWebColors darkcyan
-
darkgoldenrod
public static final EWebColors darkgoldenrod
-
darkgray
public static final EWebColors darkgray
-
darkgreen
public static final EWebColors darkgreen
-
darkgrey
public static final EWebColors darkgrey
-
darkkhaki
public static final EWebColors darkkhaki
-
darkmagenta
public static final EWebColors darkmagenta
-
darkolivegreen
public static final EWebColors darkolivegreen
-
darkorange
public static final EWebColors darkorange
-
darkorchid
public static final EWebColors darkorchid
-
darkred
public static final EWebColors darkred
-
darksalmon
public static final EWebColors darksalmon
-
darkseagreen
public static final EWebColors darkseagreen
-
darkslateblue
public static final EWebColors darkslateblue
-
darkslategray
public static final EWebColors darkslategray
-
darkslategrey
public static final EWebColors darkslategrey
-
darkturquoise
public static final EWebColors darkturquoise
-
darkviolet
public static final EWebColors darkviolet
-
deeppink
public static final EWebColors deeppink
-
deepskyblue
public static final EWebColors deepskyblue
-
dimgray
public static final EWebColors dimgray
-
dimgrey
public static final EWebColors dimgrey
-
dodgerblue
public static final EWebColors dodgerblue
-
firebrick
public static final EWebColors firebrick
-
floralwhite
public static final EWebColors floralwhite
-
forestgreen
public static final EWebColors forestgreen
-
fuchsia
public static final EWebColors fuchsia
-
gainsboro
public static final EWebColors gainsboro
-
ghostwhite
public static final EWebColors ghostwhite
-
gold
public static final EWebColors gold
-
goldenrod
public static final EWebColors goldenrod
-
gray
public static final EWebColors gray
-
green
public static final EWebColors green
-
greenyellow
public static final EWebColors greenyellow
-
grey
public static final EWebColors grey
-
honeydew
public static final EWebColors honeydew
-
hotpink
public static final EWebColors hotpink
-
indianred
public static final EWebColors indianred
-
indigo
public static final EWebColors indigo
-
ivory
public static final EWebColors ivory
-
khaki
public static final EWebColors khaki
-
lavender
public static final EWebColors lavender
-
lavenderblush
public static final EWebColors lavenderblush
-
lawngreen
public static final EWebColors lawngreen
-
lemonchiffon
public static final EWebColors lemonchiffon
-
lightblue
public static final EWebColors lightblue
-
lightcoral
public static final EWebColors lightcoral
-
lightcyan
public static final EWebColors lightcyan
-
lightgoldenrodyellow
public static final EWebColors lightgoldenrodyellow
-
lightgray
public static final EWebColors lightgray
-
lightgreen
public static final EWebColors lightgreen
-
lightgrey
public static final EWebColors lightgrey
-
lightpink
public static final EWebColors lightpink
-
lightsalmon
public static final EWebColors lightsalmon
-
lightseagreen
public static final EWebColors lightseagreen
-
lightskyblue
public static final EWebColors lightskyblue
-
lightslategray
public static final EWebColors lightslategray
-
lightslategrey
public static final EWebColors lightslategrey
-
lightsteelblue
public static final EWebColors lightsteelblue
-
lightyellow
public static final EWebColors lightyellow
-
lime
public static final EWebColors lime
-
limegreen
public static final EWebColors limegreen
-
linen
public static final EWebColors linen
-
magenta
public static final EWebColors magenta
-
maroon
public static final EWebColors maroon
-
mediumaquamarine
public static final EWebColors mediumaquamarine
-
mediumblue
public static final EWebColors mediumblue
-
mediumorchid
public static final EWebColors mediumorchid
-
mediumpurple
public static final EWebColors mediumpurple
-
mediumseagreen
public static final EWebColors mediumseagreen
-
mediumslateblue
public static final EWebColors mediumslateblue
-
mediumspringgreen
public static final EWebColors mediumspringgreen
-
mediumturquoise
public static final EWebColors mediumturquoise
-
mediumvioletred
public static final EWebColors mediumvioletred
-
midnightblue
public static final EWebColors midnightblue
-
mintcream
public static final EWebColors mintcream
-
mistyrose
public static final EWebColors mistyrose
-
moccasin
public static final EWebColors moccasin
-
navajowhite
public static final EWebColors navajowhite
-
navy
public static final EWebColors navy
-
oldlace
public static final EWebColors oldlace
-
olive
public static final EWebColors olive
-
olivedrab
public static final EWebColors olivedrab
-
orange
public static final EWebColors orange
-
orangered
public static final EWebColors orangered
-
orchid
public static final EWebColors orchid
-
palegoldenrod
public static final EWebColors palegoldenrod
-
palegreen
public static final EWebColors palegreen
-
paleturquoise
public static final EWebColors paleturquoise
-
palevioletred
public static final EWebColors palevioletred
-
papayawhip
public static final EWebColors papayawhip
-
peachpuff
public static final EWebColors peachpuff
-
peru
public static final EWebColors peru
-
pink
public static final EWebColors pink
-
plum
public static final EWebColors plum
-
powderblue
public static final EWebColors powderblue
-
purple
public static final EWebColors purple
-
rebeccapurple
public static final EWebColors rebeccapurple
-
red
public static final EWebColors red
-
rosybrown
public static final EWebColors rosybrown
-
royalblue
public static final EWebColors royalblue
-
saddlebrown
public static final EWebColors saddlebrown
-
salmon
public static final EWebColors salmon
-
sandybrown
public static final EWebColors sandybrown
-
seagreen
public static final EWebColors seagreen
-
seashell
public static final EWebColors seashell
-
sienna
public static final EWebColors sienna
-
silver
public static final EWebColors silver
-
skyblue
public static final EWebColors skyblue
-
slateblue
public static final EWebColors slateblue
-
slategray
public static final EWebColors slategray
-
slategrey
public static final EWebColors slategrey
-
snow
public static final EWebColors snow
-
springgreen
public static final EWebColors springgreen
-
steelblue
public static final EWebColors steelblue
-
tan
public static final EWebColors tan
-
teal
public static final EWebColors teal
-
thistle
public static final EWebColors thistle
-
tomato
public static final EWebColors tomato
-
transparent
public static final EWebColors transparent
-
turquoise
public static final EWebColors turquoise
-
violet
public static final EWebColors violet
-
wheat
public static final EWebColors wheat
-
white
public static final EWebColors white
-
whitesmoke
public static final EWebColors whitesmoke
-
yellow
public static final EWebColors yellow
-
yellowgreen
public static final EWebColors yellowgreen
-
-
Method Detail
-
values
public static EWebColors[] 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 (EWebColors c : EWebColors.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EWebColors 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
-
getField
public <T extends Serializable> T getField(IColorField<T> field) throws IllegalArgumentException
Description copied from interface:IGuiColor
Finds the value of the given color palette field.- Specified by:
getField
in interfaceIGuiColor
- Type Parameters:
T
- Type of the field value.- Parameters:
field
- A field to retrieve.- Returns:
- The value of this color palette entry for the given field.
- Throws:
IllegalArgumentException
- If the given field is not supported, seeEColorPalette#supportsField
.
-
getSupportedFields
public com.google.common.collect.ImmutableSet<IColorField<?>> getSupportedFields()
- Specified by:
getSupportedFields
in interfaceIGuiColor
- Returns:
- All fields supported by this color.
- See Also:
IGuiColor.supportsField(IColorField)
-
-