org.apache.batik.dom.svg
public class SVGOMAnimatedPreserveAspectRatio extends AbstractSVGAnimatedValue implements SVGAnimatedPreserveAspectRatio
Nested Class Summary | |
---|---|
class | SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue
This class represents the SVGPreserveAspectRatio returned by {@link
#getAnimVal()}. |
class | SVGOMAnimatedPreserveAspectRatio.BaseSVGPARValue
This class represents the SVGPreserveAspectRatio returned by {@link
#getBaseVal()}. |
Field Summary | |
---|---|
protected SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue | animVal
The animated value. |
protected SVGOMAnimatedPreserveAspectRatio.BaseSVGPARValue | baseVal
The base value. |
protected boolean | changing
Whether the value is changing. |
Constructor Summary | |
---|---|
SVGOMAnimatedPreserveAspectRatio(AbstractElement elt)
Creates a new SVGOMAnimatedPreserveAspectRatio. |
Method Summary | |
---|---|
void | attrAdded(Attr node, String newv)
Called when an Attr node has been added. |
void | attrModified(Attr node, String oldv, String newv)
Called when an Attr node has been modified. |
void | attrRemoved(Attr node, String oldv)
Called when an Attr node has been removed. |
SVGPreserveAspectRatio | getAnimVal()
DOM: Implements {@link SVGAnimatedPreserveAspectRatio#getAnimVal()}. |
SVGPreserveAspectRatio | getBaseVal()
DOM: Implements {@link SVGAnimatedPreserveAspectRatio#getBaseVal()}. |
AnimatableValue | getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an {@link AnimatableValue}. |
protected void | updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given {@link AnimatableValue}. |
Parameters: elt The associated element.