org.apache.batik.dom.svg

Class SVGStylableElement.PresentationAttributeColorValue

public class SVGStylableElement.PresentationAttributeColorValue extends CSSOMSVGColor implements LiveAttributeValue, CSSOMSVGColor.ValueProvider

To manage a presentation attribute SVGColor value.
Field Summary
protected CSSEnginecssEngine
The CSS engine.
protected booleanmutate
Whether the mutation comes from this object.
protected Stringproperty
The property name.
protected Valuevalue
The value.
Constructor Summary
PresentationAttributeColorValue(CSSEngine eng, String prop)
Creates a new PresentationAttributeColorValue.
Method Summary
voidattrAdded(Attr node, String newv)
Called 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.
ValuegetValue()
Returns the current value associated with this object.

Field Detail

cssEngine

protected CSSEngine cssEngine
The CSS engine.

mutate

protected boolean mutate
Whether the mutation comes from this object.

property

protected String property
The property name.

value

protected Value value
The value.

Constructor Detail

PresentationAttributeColorValue

public PresentationAttributeColorValue(CSSEngine eng, String prop)
Creates a new PresentationAttributeColorValue.

Method Detail

attrAdded

public void attrAdded(Attr node, String newv)
Called when an Attr node has been added.

attrModified

public void attrModified(Attr node, String oldv, String newv)
Called when an Attr node has been modified.

attrRemoved

public void attrRemoved(Attr node, String oldv)
Called when an Attr node has been removed.

getValue

public Value getValue()
Returns the current value associated with this object.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.