Package org.apache.batik.anim.dom
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 class
This class represents the SVGRect returned by getAnimVal().protected class
This class represents the SVGRect returned by getBaseVal(). -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SVGOMAnimatedRect.AnimSVGRect
The animated value.protected SVGOMAnimatedRect.BaseSVGRect
The base value.protected boolean
Whether the value is changing.protected String
Default value.Fields inherited from class org.apache.batik.anim.dom.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 TypeMethodDescriptionvoid
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.org.w3c.dom.svg.SVGRect
DOM: ImplementsSVGAnimatedRect.getAnimVal()
.org.w3c.dom.svg.SVGRect
DOM: ImplementsSVGAnimatedRect.getBaseVal()
.getUnderlyingValue
(AnimationTarget target) Returns the base value of the attribute as anAnimatableValue
.protected void
Updates the animated value with the givenAnimatableValue
.Methods inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener
-
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:
getBaseVal
in interfaceorg.w3c.dom.svg.SVGAnimatedRect
-
getAnimVal
public org.w3c.dom.svg.SVGRect getAnimVal()DOM: ImplementsSVGAnimatedRect.getAnimVal()
.- Specified by:
getAnimVal
in interfaceorg.w3c.dom.svg.SVGAnimatedRect
-
updateAnimatedValue
Updates the animated value with the givenAnimatableValue
.- Specified by:
updateAnimatedValue
in classAbstractSVGAnimatedValue
-
getUnderlyingValue
Returns the base value of the attribute as anAnimatableValue
.- Specified by:
getUnderlyingValue
in interfaceAnimatedLiveAttributeValue
-
attrAdded
Called when an Attr node has been added.- Specified by:
attrAdded
in interfaceLiveAttributeValue
-
attrModified
Called when an Attr node has been modified.- Specified by:
attrModified
in interfaceLiveAttributeValue
-
attrRemoved
Called when an Attr node has been removed.- Specified by:
attrRemoved
in interfaceLiveAttributeValue
-