org.apache.batik.dom.svg

Class SVGOMAnimatedPoints

public class SVGOMAnimatedPoints extends AbstractSVGAnimatedValue implements SVGAnimatedPoints

This class is the implementation of the SVGAnimatedPoints interface.
Nested Class Summary
protected classSVGOMAnimatedPoints.AnimSVGPointList
SVGPointList implementation for the animated point list value.
protected classSVGOMAnimatedPoints.BaseSVGPointList
SVGPointList implementation for the base point list value.
Field Summary
protected SVGOMAnimatedPoints.AnimSVGPointListanimVal
The animated value.
protected SVGOMAnimatedPoints.BaseSVGPointListbaseVal
The base value.
protected booleanchanging
Whether the list is changing.
protected StringdefaultValue
Default value for the point list.
Constructor Summary
SVGOMAnimatedPoints(AbstractElement elt, String ns, String ln, String defaultValue)
Creates a new SVGOMAnimatedPoints.
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.
SVGPointListgetAnimatedPoints()
DOM: Implements SVGAnimatedPoints#getAnimatedPoints().
SVGPointListgetPoints()
DOM: Implements SVGAnimatedPoints#getPoints().
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 SVGOMAnimatedPoints.AnimSVGPointList animVal
The animated value.

baseVal

protected SVGOMAnimatedPoints.BaseSVGPointList baseVal
The base value.

changing

protected boolean changing
Whether the list is changing.

defaultValue

protected String defaultValue
Default value for the point list.

Constructor Detail

SVGOMAnimatedPoints

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

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.

getAnimatedPoints

public SVGPointList getAnimatedPoints()
DOM: Implements SVGAnimatedPoints#getAnimatedPoints().

getPoints

public SVGPointList getPoints()
DOM: Implements SVGAnimatedPoints#getPoints().

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.