Class SVGOMAnimatedPreserveAspectRatio
java.lang.Object
org.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.SVGOMAnimatedPreserveAspectRatio
- All Implemented Interfaces:
AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio
public class SVGOMAnimatedPreserveAspectRatio
extends AbstractSVGAnimatedValue
implements org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio
This class implements the
SVGAnimatedPreserveAspectRatio interface.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassThis class represents the SVGPreserveAspectRatio returned bygetAnimVal().classThis class represents the SVGPreserveAspectRatio returned bygetBaseVal(). -
Field Summary
FieldsModifier and TypeFieldDescriptionThe animated value.The base value.protected booleanWhether the value is changing.Fields inherited from class AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SVGOMAnimatedPreserveAspectRatio. -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled 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.org.w3c.dom.svg.SVGPreserveAspectRatioDOM: ImplementsSVGAnimatedPreserveAspectRatio.getAnimVal().org.w3c.dom.svg.SVGPreserveAspectRatioDOM: ImplementsSVGAnimatedPreserveAspectRatio.getBaseVal().getUnderlyingValue(AnimationTarget target) Returns the base value of the attribute as anAnimatableValue.protected voidUpdates the animated value with the givenAnimatableValue.
-
Field Details
-
baseVal
The base value. -
animVal
The animated value. -
changing
protected boolean changingWhether the value is changing.
-
-
Constructor Details
-
SVGOMAnimatedPreserveAspectRatio
Creates a new SVGOMAnimatedPreserveAspectRatio.- Parameters:
elt- The associated element.
-
-
Method Details
-
getBaseVal
public org.w3c.dom.svg.SVGPreserveAspectRatio getBaseVal()DOM: ImplementsSVGAnimatedPreserveAspectRatio.getBaseVal().- Specified by:
getBaseValin interfaceorg.w3c.dom.svg.SVGAnimatedPreserveAspectRatio
-
getAnimVal
public org.w3c.dom.svg.SVGPreserveAspectRatio getAnimVal()DOM: ImplementsSVGAnimatedPreserveAspectRatio.getAnimVal().- Specified by:
getAnimValin interfaceorg.w3c.dom.svg.SVGAnimatedPreserveAspectRatio
-
check
public void check()Throws an exception if the points list value is malformed. -
getUnderlyingValue
Returns the base value of the attribute as anAnimatableValue.- Specified by:
getUnderlyingValuein interfaceAnimatedLiveAttributeValue
-
updateAnimatedValue
Updates the animated value with the givenAnimatableValue.- Specified by:
updateAnimatedValuein classAbstractSVGAnimatedValue
-
attrAdded
Called when an Attr node has been added.- Specified by:
attrAddedin interfaceLiveAttributeValue
-
attrModified
Called when an Attr node has been modified.- Specified by:
attrModifiedin interfaceLiveAttributeValue
-
attrRemoved
Called when an Attr node has been removed.- Specified by:
attrRemovedin interfaceLiveAttributeValue
-