Class SVGOMAnimatedRect
java.lang.Object
org.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.SVGOMAnimatedRect
- All Implemented Interfaces:
AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedRect
public class SVGOMAnimatedRect
extends AbstractSVGAnimatedValue
implements org.w3c.dom.svg.SVGAnimatedRect
Implementation of
SVGAnimatedRect.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classThis class represents the SVGRect returned by getAnimVal().protected classThis class represents the SVGRect returned by getBaseVal(). -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SVGOMAnimatedRect.AnimSVGRectThe animated value.protected SVGOMAnimatedRect.BaseSVGRectThe base value.protected booleanWhether the value is changing.protected StringDefault value.Fields inherited from class AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI -
Constructor Summary
ConstructorsConstructorDescriptionSVGOMAnimatedRect(AbstractElement elt, String ns, String ln, String def) Creates a new SVGOMAnimatedRect. -
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.org.w3c.dom.svg.SVGRectDOM: ImplementsSVGAnimatedRect.getAnimVal().org.w3c.dom.svg.SVGRectDOM: ImplementsSVGAnimatedRect.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. -
defaultValue
Default value.
-
-
Constructor Details
-
SVGOMAnimatedRect
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 Details
-
getBaseVal
public org.w3c.dom.svg.SVGRect getBaseVal()DOM: ImplementsSVGAnimatedRect.getBaseVal().- Specified by:
getBaseValin interfaceorg.w3c.dom.svg.SVGAnimatedRect
-
getAnimVal
public org.w3c.dom.svg.SVGRect getAnimVal()DOM: ImplementsSVGAnimatedRect.getAnimVal().- Specified by:
getAnimValin interfaceorg.w3c.dom.svg.SVGAnimatedRect
-
updateAnimatedValue
Updates the animated value with the givenAnimatableValue.- Specified by:
updateAnimatedValuein classAbstractSVGAnimatedValue
-
getUnderlyingValue
Returns the base value of the attribute as anAnimatableValue.- Specified by:
getUnderlyingValuein interfaceAnimatedLiveAttributeValue
-
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
-