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 java.lang.String |
property
The property name.
|
protected Value |
value
The value.
|
blueComponent, greenComponent, handler, iccColors, redComponent, valueProvider
SVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWN
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
Constructor and Description |
---|
PresentationAttributeColorValue(CSSEngine eng,
java.lang.String prop)
Creates a new PresentationAttributeColorValue.
|
Modifier and Type | Method and Description |
---|---|
void |
attrAdded(Attr node,
java.lang.String newv)
Called when an Attr node has been added.
|
void |
attrModified(Attr node,
java.lang.String oldv,
java.lang.String newv)
Called when an Attr node has been modified.
|
void |
attrRemoved(Attr node,
java.lang.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, setRGBColorICCColor
protected CSSEngine cssEngine
protected java.lang.String property
protected Value value
protected boolean mutate
public PresentationAttributeColorValue(CSSEngine eng, java.lang.String prop)
public Value getValue()
getValue
in interface CSSOMSVGColor.ValueProvider
public void attrAdded(Attr node, java.lang.String newv)
attrAdded
in interface LiveAttributeValue
public void attrModified(Attr node, java.lang.String oldv, java.lang.String newv)
attrModified
in interface LiveAttributeValue
public void attrRemoved(Attr node, java.lang.String oldv)
attrRemoved
in interface LiveAttributeValue
Copyright © 2022 Apache Software Foundation. All Rights Reserved.