public class SVGStylableElement.PresentationAttributeColorValue extends CSSOMSVGColor implements LiveAttributeValue, CSSOMSVGColor.ValueProvider
CSSOMSVGColor.AbstractComponent, CSSOMSVGColor.AbstractModificationHandler, CSSOMSVGColor.BlueComponent, CSSOMSVGColor.ColorNumber, CSSOMSVGColor.FloatComponent, CSSOMSVGColor.GreenComponent, CSSOMSVGColor.ModificationHandler, CSSOMSVGColor.RedComponent, CSSOMSVGColor.ValueProvider| Modifier and Type | Field and Description |
|---|---|
protected CSSEngine |
cssEngine
The CSS engine.
|
protected boolean |
mutate
Whether the mutation comes from this object.
|
protected String |
property
The property name.
|
protected Value |
value
The value.
|
blueComponent, greenComponent, handler, iccColors, redComponent, valueProviderSVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWNCSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST| Constructor and Description |
|---|
PresentationAttributeColorValue(CSSEngine eng,
String prop)
Creates a new PresentationAttributeColorValue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attrAdded(Attr node,
String newv)
Called when an Attr node has been added.
|
void |
attrModified(Attr node,
String oldv,
String newv)
Called when an Attr node has been modified.
|
void |
attrRemoved(Attr node,
String oldv)
Called when an Attr node has been removed.
|
Value |
getValue()
Returns the current value associated with this object.
|
appendItem, clear, getBlue, getColorProfile, getColors, getColorType, getCssText, getCssValueType, getGreen, getIccColor, getICCColor, getItem, getNumberOfItems, getRed, getRgbColor, getRGBColor, initialize, insertItemBefore, removeItem, replaceItem, setColor, setColorProfile, setCssText, setModificationHandler, setRGBColor, setRGBColorICCColorprotected CSSEngine cssEngine
protected String property
protected Value value
protected boolean mutate
public Value getValue()
getValue in interface CSSOMSVGColor.ValueProviderpublic void attrAdded(Attr node, String newv)
attrAdded in interface LiveAttributeValuepublic void attrModified(Attr node, String oldv, String newv)
attrModified in interface LiveAttributeValuepublic void attrRemoved(Attr node, String oldv)
attrRemoved in interface LiveAttributeValueCopyright © 2000–2024 Apache Software Foundation. All rights reserved.