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, CSSValue, 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.
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from class CSSOMSVGPaint
CSSOMSVGPaint.AbstractModificationHandler, CSSOMSVGPaint.PaintModificationHandlerNested classes/interfaces inherited from class CSSOMSVGColor
CSSOMSVGColor.AbstractComponent, CSSOMSVGColor.BlueComponent, CSSOMSVGColor.ColorNumber, CSSOMSVGColor.FloatComponent, CSSOMSVGColor.GreenComponent, CSSOMSVGColor.ModificationHandler, CSSOMSVGColor.RedComponent, CSSOMSVGColor.ValueProvider -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CSSEngineThe CSS engine.protected booleanWhether the mutation comes from this object.protected StringThe property name.protected ValueThe value.Fields inherited from class CSSOMSVGColor
blueComponent, greenComponent, handler, iccColors, redComponent, valueProviderFields inherited from interface CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LISTFields inherited from interface org.w3c.dom.svg.SVGColor
SVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWNFields 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
ConstructorsConstructorDescriptionPresentationAttributePaintValue(CSSEngine eng, String prop) Creates a new PresentationAttributeColorValue. -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when an Attr node has been added.voidattrModified(Attr node, String oldv, String newv) Called when an Attr node has been modified.voidattrRemoved(Attr node, String oldv) Called when an Attr node has been removed.getValue()Returns the current value associated with this object.Methods inherited from class CSSOMSVGPaint
getColorType, getPaintType, getUri, setModificationHandler, setPaint, setUriMethods inherited from class CSSOMSVGColor
appendItem, clear, getBlue, getColorProfile, getColors, getCssText, getCssValueType, getGreen, getIccColor, getICCColor, getItem, getNumberOfItems, getRed, getRgbColor, getRGBColor, initialize, insertItemBefore, removeItem, replaceItem, setColor, setColorProfile, setCssText, setRGBColor, setRGBColorICCColorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CSSValue
getCssText, getCssValueType, setCssTextMethods inherited from interface org.w3c.dom.svg.SVGColor
getICCColor, getRGBColor, setColor, setRGBColor, setRGBColorICCColor
-
Field Details
-
cssEngine
The CSS engine. -
property
The property name. -
value
The value. -
mutate
protected boolean mutateWhether the mutation comes from this object.
-
-
Constructor Details
-
PresentationAttributePaintValue
-
-
Method Details
-
getValue
Returns the current value associated with this object.- Specified by:
getValuein interfaceCSSOMSVGColor.ValueProvider
-
attrAdded
Called when an Attr node has been added.- Specified by:
attrAddedin interfaceLiveAttributeValue
-
attrModified
Called when an Attr node has been modified.- Specified by:
attrModifiedin interfaceLiveAttributeValue
-
attrRemoved
Called when an Attr node has been removed.- Specified by:
attrRemovedin interfaceLiveAttributeValue
-