T - Type of the property value.@Immutable public class ColorField<T extends Serializable> extends Object implements IColorField<T>
IColorFields.| Modifier and Type | Class and Description |
|---|---|
static class |
ColorField.Identifier
Constants with the
IColorField.getIdentifier() values for the ColorFields. |
| Modifier and Type | Field and Description |
|---|---|
static IColorField<CssColor> |
CSS_COLOR
CSS property for the color, such as
red or #ac3300. |
static IColorField<CssColor> |
CSS_COLOR_MATCHING_TEXT
CSS property for the color matching the the background, such as
red or #ac3300. |
static IColorField<Integer> |
HSLUV_COMPONENT_HUE
The hue component of a HSLuv color (0 to 360).
|
static IColorField<Integer> |
HSLUV_COMPONENT_LIGHTNESS
The lightness component of a HSLuv color (0 to 100).
|
static IColorField<Integer> |
HSLUV_COMPONENT_SATURATION
The saturation component of a HSLuv color (0 to 100).
|
static IColorField<HslUvTriplet> |
HSLUV_TRIPLET
The HSLuv compoments of the color.
|
static IColorField<Integer> |
HSV_COMPONENT_HUE
The hue component of the HSV value of the color (0 to 360).
|
static IColorField<Integer> |
HSV_COMPONENT_SATURATION
The saturation component of the HSV value of the color (0 to 00).
|
static IColorField<Integer> |
HSV_COMPONENT_VALUE
The value component of the HSV value of the color (0 to 100).
|
static IColorField<HsvTriplet> |
HSV_TRIPLET
The RGB compoments of the color.
|
static IColorField<Double> |
LUMA_ITU_BT_601
The luminance according to Photometric/digital ITU BT.601 standard, from 0 to 1.
|
static IColorField<Double> |
LUMA_ITU_BT_709
The luminance according to Photometric/digital ITU BT.709 standard, from 0 to 1.
|
static IColorField<Double> |
OPACITY
The opacity component of the color, from 0 (transparent) to 1 (opaque).
|
static IColorField<Integer> |
RGB_COMPONENT_BLUE
The blue component of the RGB value of the color (0 to 255).
|
static IColorField<Integer> |
RGB_COMPONENT_GREEN
The green component of the RGB value of the color (0 to 255).
|
static IColorField<Integer> |
RGB_COMPONENT_RED
The red component of the RGB value of the color (0 to 255).
|
static IColorField<RgbTriplet> |
RGB_TRIPLET
The RGB compoments of the color.
|
static IColorField<String> |
STYLE_CLASS_BACKGROUND
CSS style class for setting the background color.
|
static IColorField<String> |
STYLE_CLASS_BORDER
CSS style class for setting the background color.
|
static IColorField<String> |
STYLE_CLASS_FILL
CSS style class for setting the fill color (SVG).
|
static IColorField<String> |
STYLE_CLASS_MATCHING_BORDER
CSS style class for setting the text color to a color matching the
STYLE_CLASS_BACKGROUND. |
static IColorField<String> |
STYLE_CLASS_MATCHING_TEXT
CSS style class for setting the text color to a color matching the
STYLE_CLASS_BACKGROUND. |
static IColorField<String> |
STYLE_CLASS_STROKE
CSS style class for setting the stroke color (SVG).
|
static IColorField<String> |
STYLE_CLASS_TEXT
CSS style class for setting the text color.
|
static IColorField<Double> |
TRANSPARENCY
The alpha or transparency component of the color, from 0 (opaque) to 1 (transparent).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Implementations MUST make the comparison only with respect to
IColorField.getIdentifier(). |
String |
getIdentifier() |
int |
hashCode()
Implementations MUST calculate the hash code only from the
IColorField.getIdentifier(). |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, get, get, supportedBypublic static final IColorField<CssColor> CSS_COLOR
red or #ac3300.public static final IColorField<CssColor> CSS_COLOR_MATCHING_TEXT
red or #ac3300.public static final IColorField<Integer> HSLUV_COMPONENT_HUE
public static final IColorField<Integer> HSLUV_COMPONENT_LIGHTNESS
public static final IColorField<Integer> HSLUV_COMPONENT_SATURATION
public static final IColorField<HslUvTriplet> HSLUV_TRIPLET
public static final IColorField<Integer> HSV_COMPONENT_HUE
public static final IColorField<Integer> HSV_COMPONENT_SATURATION
public static final IColorField<Integer> HSV_COMPONENT_VALUE
public static final IColorField<HsvTriplet> HSV_TRIPLET
public static final IColorField<Double> LUMA_ITU_BT_601
public static final IColorField<Double> LUMA_ITU_BT_709
public static final IColorField<Double> OPACITY
public static final IColorField<Integer> RGB_COMPONENT_BLUE
public static final IColorField<Integer> RGB_COMPONENT_GREEN
public static final IColorField<Integer> RGB_COMPONENT_RED
public static final IColorField<RgbTriplet> RGB_TRIPLET
public static final IColorField<String> STYLE_CLASS_BACKGROUND
public static final IColorField<String> STYLE_CLASS_BORDER
public static final IColorField<String> STYLE_CLASS_FILL
public static final IColorField<String> STYLE_CLASS_MATCHING_BORDER
STYLE_CLASS_BACKGROUND.public static final IColorField<String> STYLE_CLASS_MATCHING_TEXT
STYLE_CLASS_BACKGROUND.public static final IColorField<String> STYLE_CLASS_STROKE
public static final IColorField<String> STYLE_CLASS_TEXT
public static final IColorField<Double> TRANSPARENCY
public boolean equals(Object obj)
IColorFieldIColorField.getIdentifier().equals in interface IColorField<T extends Serializable>equals in class Objectobj - Other object to compare this object to.public String getIdentifier()
getIdentifier in interface IColorField<T extends Serializable>public int hashCode()
IColorFieldIColorField.getIdentifier().hashCode in interface IColorField<T extends Serializable>hashCode in class ObjectCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.