public class SVGStylableElement.PresentationAttributePaintValue extends CSSOMSVGPaint implements LiveAttributeValue, CSSOMSVGColor.ValueProvider
CSSOMSVGPaint.AbstractModificationHandler, CSSOMSVGPaint.PaintModificationHandler
CSSOMSVGColor.AbstractComponent, 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_PAINTTYPE_CURRENTCOLOR, SVG_PAINTTYPE_NONE, SVG_PAINTTYPE_RGBCOLOR, SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR, SVG_PAINTTYPE_UNKNOWN, SVG_PAINTTYPE_URI, SVG_PAINTTYPE_URI_CURRENTCOLOR, SVG_PAINTTYPE_URI_NONE, SVG_PAINTTYPE_URI_RGBCOLOR, SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR
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 |
---|
PresentationAttributePaintValue(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.
|
getColorType, getPaintType, getUri, setModificationHandler, setPaint, setUri
appendItem, clear, getBlue, getColorProfile, getColors, getCssText, getCssValueType, getGreen, getIccColor, getICCColor, getItem, getNumberOfItems, getRed, getRgbColor, getRGBColor, initialize, insertItemBefore, removeItem, replaceItem, setColor, setColorProfile, setCssText, setRGBColor, setRGBColorICCColor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getICCColor, getRGBColor, setColor, setRGBColor, setRGBColorICCColor
getCssText, getCssValueType, setCssText
protected CSSEngine cssEngine
protected java.lang.String property
protected Value value
protected boolean mutate
public PresentationAttributePaintValue(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.