org.apache.batik.dom.svg

Class SVGOMAnimatedRect

public class SVGOMAnimatedRect extends AbstractSVGAnimatedValue implements SVGAnimatedRect

Implementation of {@link 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.
Constructor Summary
SVGOMAnimatedRect(AbstractElement elt, String ns, String ln)
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 {@link SVGAnimatedRect#getAnimVal()}.
SVGRectgetBaseVal()
DOM: Implements {@link SVGAnimatedRect#getBaseVal()}.
AnimatableValuegetUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an {@link AnimatableValue}.
protected voidupdateAnimatedValue(AnimatableValue val)
Updates the animated value with the given {@link 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.

Constructor Detail

SVGOMAnimatedRect

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

Parameters: elt The associated element. ns The attribute's namespace URI. ln The attribute's local name.

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 {@link SVGAnimatedRect#getAnimVal()}.

getBaseVal

public SVGRect getBaseVal()
DOM: Implements {@link SVGAnimatedRect#getBaseVal()}.

getUnderlyingValue

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

updateAnimatedValue

protected void updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given {@link AnimatableValue}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.