org.apache.batik.dom.svg

Class SVGOMAnimatedRect

public class SVGOMAnimatedRect extends AbstractSVGAnimatedValue implements SVGAnimatedRect

Implementation of SVGAnimatedRect.
Nested Class Summary
protected classSVGOMAnimatedRect.AnimSVGRect
This class represents the SVGRect returned by getAnimVal().
protected classSVGOMAnimatedRect.BaseSVGRect
This class represents the SVGRect returned by getBaseVal().
Field Summary
protected SVGOMAnimatedRect.AnimSVGRectanimVal
The animated value.
protected SVGOMAnimatedRect.BaseSVGRectbaseVal
The base value.
protected booleanchanging
Whether the value is changing.
protected StringdefaultValue
Default value.
Constructor Summary
SVGOMAnimatedRect(AbstractElement elt, String ns, String ln, String def)
Creates a new SVGOMAnimatedRect.
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.
SVGRectgetAnimVal()
DOM: Implements SVGAnimatedRect#getAnimVal().
SVGRectgetBaseVal()
DOM: Implements SVGAnimatedRect#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 SVGOMAnimatedRect.AnimSVGRect animVal
The animated value.

baseVal

protected SVGOMAnimatedRect.BaseSVGRect baseVal
The base value.

changing

protected boolean changing
Whether the value is changing.

defaultValue

protected String defaultValue
Default value.

Constructor Detail

SVGOMAnimatedRect

public SVGOMAnimatedRect(AbstractElement elt, String ns, String ln, String def)
Creates a new SVGOMAnimatedRect.

Parameters: elt The associated element. ns The attribute's namespace URI. ln The attribute's local name. def The default value for the attribute.

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.

getAnimVal

public SVGRect getAnimVal()
DOM: Implements SVGAnimatedRect#getAnimVal().

getBaseVal

public SVGRect getBaseVal()
DOM: Implements SVGAnimatedRect#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.