org.apache.batik.dom.svg

Class SVGOMAnimatedTransformList

public class SVGOMAnimatedTransformList extends AbstractSVGAnimatedValue implements SVGAnimatedTransformList

This class is the implementation of the SVGAnimatedTransformList interface.
Nested Class Summary
protected classSVGOMAnimatedTransformList.AnimSVGTransformList
SVGTransformList implementation for the animated transform list value.
classSVGOMAnimatedTransformList.BaseSVGTransformList
SVGTransformList implementation for the base transform list value.
Field Summary
protected SVGOMAnimatedTransformList.AnimSVGTransformListanimVal
The animated value.
protected SVGOMAnimatedTransformList.BaseSVGTransformListbaseVal
The base value.
protected booleanchanging
Whether the list is changing.
protected StringdefaultValue
Default value for the 'transform' attribute.
Constructor Summary
SVGOMAnimatedTransformList(AbstractElement elt, String ns, String ln, String defaultValue)
Creates a new SVGOMAnimatedTransformList.
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.
voidcheck()
Throws an exception if the points list value is malformed.
SVGTransformListgetAnimVal()
DOM: Implements SVGAnimatedTransformList#getAnimVal().
SVGTransformListgetBaseVal()
DOM: Implements SVGAnimatedTransformList#getBaseVal().
AnimatableValuegetUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an AnimatableValue.
protected voidupdateAnimatedValue(AnimatableValue val)
Updates the animated value with the given AnimatableValue.

Field Detail

animVal

protected SVGOMAnimatedTransformList.AnimSVGTransformList animVal
The animated value.

baseVal

protected SVGOMAnimatedTransformList.BaseSVGTransformList baseVal
The base value.

changing

protected boolean changing
Whether the list is changing.

defaultValue

protected String defaultValue
Default value for the 'transform' attribute.

Constructor Detail

SVGOMAnimatedTransformList

public SVGOMAnimatedTransformList(AbstractElement elt, String ns, String ln, String defaultValue)
Creates a new SVGOMAnimatedTransformList.

Parameters: elt The associated element. ns The attribute's namespace URI. ln The attribute's local name. defaultValue The default value if the attribute is not specified.

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.

check

public void check()
Throws an exception if the points list value is malformed.

getAnimVal

public SVGTransformList getAnimVal()
DOM: Implements SVGAnimatedTransformList#getAnimVal().

getBaseVal

public SVGTransformList getBaseVal()
DOM: Implements SVGAnimatedTransformList#getBaseVal().

getUnderlyingValue

public AnimatableValue getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an AnimatableValue.

updateAnimatedValue

protected void updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given AnimatableValue.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.