|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.SVGOMAnimatedRect
public class SVGOMAnimatedRect
Implementation of SVGAnimatedRect
.
Nested Class Summary | |
---|---|
protected class |
SVGOMAnimatedRect.AnimSVGRect
This class represents the SVGRect returned by getAnimVal(). |
protected class |
SVGOMAnimatedRect.BaseSVGRect
This class represents the SVGRect returned by getBaseVal(). |
Field Summary | |
---|---|
protected SVGOMAnimatedRect.AnimSVGRect |
animVal
The animated value. |
protected SVGOMAnimatedRect.BaseSVGRect |
baseVal
The base value. |
protected boolean |
changing
Whether the value is changing. |
protected String |
defaultValue
Default value. |
Fields inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue |
---|
element, hasAnimVal, listeners, localName, namespaceURI |
Constructor Summary | |
---|---|
SVGOMAnimatedRect(AbstractElement elt,
String ns,
String ln,
String def)
Creates a new SVGOMAnimatedRect. |
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. |
org.w3c.dom.svg.SVGRect |
getAnimVal()
DOM: Implements SVGAnimatedRect.getAnimVal() . |
org.w3c.dom.svg.SVGRect |
getBaseVal()
DOM: Implements SVGAnimatedRect.getBaseVal() . |
AnimatableValue |
getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an AnimatableValue . |
protected void |
updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given AnimatableValue . |
Methods inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue |
---|
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SVGOMAnimatedRect.BaseSVGRect baseVal
protected SVGOMAnimatedRect.AnimSVGRect animVal
protected boolean changing
protected String defaultValue
Constructor Detail |
---|
public SVGOMAnimatedRect(AbstractElement elt, String ns, String ln, String def)
elt
- The associated element.ns
- The attribute's namespace URI.ln
- The attribute's local name.def
- The default value for the attribute.Method Detail |
---|
public org.w3c.dom.svg.SVGRect getBaseVal()
SVGAnimatedRect.getBaseVal()
.
getBaseVal
in interface org.w3c.dom.svg.SVGAnimatedRect
public org.w3c.dom.svg.SVGRect getAnimVal()
SVGAnimatedRect.getAnimVal()
.
getAnimVal
in interface org.w3c.dom.svg.SVGAnimatedRect
protected void updateAnimatedValue(AnimatableValue val)
AnimatableValue
.
updateAnimatedValue
in class AbstractSVGAnimatedValue
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue
.
getUnderlyingValue
in interface AnimatedLiveAttributeValue
public void attrAdded(Attr node, String newv)
attrAdded
in interface LiveAttributeValue
public void attrModified(Attr node, String oldv, String newv)
attrModified
in interface LiveAttributeValue
public void attrRemoved(Attr node, String oldv)
attrRemoved
in interface LiveAttributeValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |