org.apache.batik.dom.svg
Class SVGStylableElement.PresentationAttributePaintValue
java.lang.Object
|
+--org.apache.batik.css.dom.CSSOMSVGColor
|
+--org.apache.batik.css.dom.CSSOMSVGPaint
|
+--org.apache.batik.dom.svg.SVGStylableElement.PresentationAttributePaintValue
- All Implemented Interfaces:
- CSSOMSVGColor.ValueProvider, CSSValue, LiveAttributeValue, RGBColor, SVGColor, SVGICCColor, SVGNumberList, SVGPaint
- Enclosing class:
- SVGStylableElement
- public class SVGStylableElement.PresentationAttributePaintValue
- extends CSSOMSVGPaint
- implements LiveAttributeValue, CSSOMSVGColor.ValueProvider
To manage a presentation attribute SVGPaint value.
Field Summary |
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. |
Method Summary |
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. |
Methods inherited from class org.apache.batik.css.dom.CSSOMSVGColor |
appendItem, clear, getBlue, getColorProfile, getColors, getCssText, getCssValueType, getGreen, getICCColor, getItem, getNumberOfItems, getRed, getRGBColor, initialize, insertItemBefore, removeItem, replaceItem, setColor, setColorProfile, setCssText, setRGBColor, setRGBColorICCColor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cssEngine
protected CSSEngine cssEngine
- The CSS engine.
property
protected java.lang.String property
- The property name.
value
protected Value value
- The value.
mutate
protected boolean mutate
- Whether the mutation comes from this object.
SVGStylableElement.PresentationAttributePaintValue
public SVGStylableElement.PresentationAttributePaintValue(CSSEngine eng,
java.lang.String prop)
- Creates a new PresentationAttributeColorValue.
getValue
public Value getValue()
- Returns the current value associated with this object.
- Specified by:
getValue
in interface CSSOMSVGColor.ValueProvider
attrAdded
public void attrAdded(Attr node,
java.lang.String newv)
- Called when an Attr node has been added.
- Specified by:
attrAdded
in interface LiveAttributeValue
attrModified
public void attrModified(Attr node,
java.lang.String oldv,
java.lang.String newv)
- Called when an Attr node has been modified.
- Specified by:
attrModified
in interface LiveAttributeValue
attrRemoved
public void attrRemoved(Attr node,
java.lang.String oldv)
- Called when an Attr node has been removed.
- Specified by:
attrRemoved
in interface LiveAttributeValue
Copyright © 2002 Apache Software Foundation. All Rights Reserved.