Package org.apache.batik.anim.dom
Class SVGStylableElement.PresentationAttributePaintValue
- java.lang.Object
-
- org.apache.batik.css.dom.CSSOMSVGColor
-
- org.apache.batik.css.dom.CSSOMSVGPaint
-
- org.apache.batik.anim.dom.SVGStylableElement.PresentationAttributePaintValue
-
- All Implemented Interfaces:
CSSOMSVGColor.ValueProvider
,LiveAttributeValue
,org.w3c.dom.css.CSSValue
,org.w3c.dom.css.RGBColor
,org.w3c.dom.svg.SVGColor
,org.w3c.dom.svg.SVGICCColor
,org.w3c.dom.svg.SVGNumberList
,org.w3c.dom.svg.SVGPaint
- Enclosing class:
- SVGStylableElement
public class SVGStylableElement.PresentationAttributePaintValue extends CSSOMSVGPaint implements LiveAttributeValue, CSSOMSVGColor.ValueProvider
To manage a presentation attribute SVGPaint value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batik.css.dom.CSSOMSVGPaint
CSSOMSVGPaint.AbstractModificationHandler, CSSOMSVGPaint.PaintModificationHandler
-
Nested classes/interfaces inherited from class org.apache.batik.css.dom.CSSOMSVGColor
CSSOMSVGColor.AbstractComponent, CSSOMSVGColor.BlueComponent, CSSOMSVGColor.ColorNumber, CSSOMSVGColor.FloatComponent, CSSOMSVGColor.GreenComponent, CSSOMSVGColor.ModificationHandler, CSSOMSVGColor.RedComponent, CSSOMSVGColor.ValueProvider
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class org.apache.batik.css.dom.CSSOMSVGColor
blueComponent, greenComponent, handler, iccColors, redComponent, valueProvider
-
Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
-
Fields inherited from interface org.w3c.dom.svg.SVGColor
SVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWN
-
Fields inherited from interface org.w3c.dom.svg.SVGPaint
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
-
-
Constructor Summary
Constructors Constructor Description PresentationAttributePaintValue(CSSEngine eng, java.lang.String prop)
Creates a new PresentationAttributeColorValue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attrAdded(org.w3c.dom.Attr node, java.lang.String newv)
Called when an Attr node has been added.void
attrModified(org.w3c.dom.Attr node, java.lang.String oldv, java.lang.String newv)
Called when an Attr node has been modified.void
attrRemoved(org.w3c.dom.Attr node, java.lang.String oldv)
Called when an Attr node has been removed.Value
getValue()
Returns the current value associated with this object.-
Methods inherited from class org.apache.batik.css.dom.CSSOMSVGPaint
getColorType, getPaintType, getUri, setModificationHandler, setPaint, setUri
-
Methods inherited from class org.apache.batik.css.dom.CSSOMSVGColor
appendItem, clear, getBlue, getColorProfile, getColors, getCssText, getCssValueType, getGreen, getIccColor, getICCColor, getItem, getNumberOfItems, getRed, getRgbColor, getRGBColor, initialize, insertItemBefore, removeItem, replaceItem, setColor, setColorProfile, setCssText, setRGBColor, setRGBColorICCColor
-
-
-
-
Constructor Detail
-
PresentationAttributePaintValue
public PresentationAttributePaintValue(CSSEngine eng, java.lang.String prop)
Creates a new PresentationAttributeColorValue.
-
-
Method Detail
-
getValue
public Value getValue()
Returns the current value associated with this object.- Specified by:
getValue
in interfaceCSSOMSVGColor.ValueProvider
-
attrAdded
public void attrAdded(org.w3c.dom.Attr node, java.lang.String newv)
Called when an Attr node has been added.- Specified by:
attrAdded
in interfaceLiveAttributeValue
-
attrModified
public void attrModified(org.w3c.dom.Attr node, java.lang.String oldv, java.lang.String newv)
Called when an Attr node has been modified.- Specified by:
attrModified
in interfaceLiveAttributeValue
-
attrRemoved
public void attrRemoved(org.w3c.dom.Attr node, java.lang.String oldv)
Called when an Attr node has been removed.- Specified by:
attrRemoved
in interfaceLiveAttributeValue
-
-