public class SVGOMAnimatedRect extends AbstractSVGAnimatedValue
SVGAnimatedRect
.Modifier and Type | Class and Description |
---|---|
protected class |
SVGOMAnimatedRect.AnimSVGRect
This class represents the SVGRect returned by getAnimVal().
|
protected class |
SVGOMAnimatedRect.BaseSVGRect
This class represents the SVGRect returned by getBaseVal().
|
Modifier and Type | Field and Description |
---|---|
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.
|
element, hasAnimVal, listeners, localName, namespaceURI
Constructor and Description |
---|
SVGOMAnimatedRect(AbstractElement elt,
String ns,
String ln,
String def)
Creates a new SVGOMAnimatedRect.
|
Modifier and Type | Method and Description |
---|---|
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.
|
SVGRect |
getAnimVal()
DOM: Implements
SVGAnimatedRect#getAnimVal() . |
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 . |
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener
protected SVGOMAnimatedRect.BaseSVGRect baseVal
protected SVGOMAnimatedRect.AnimSVGRect animVal
protected boolean changing
protected String defaultValue
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.public SVGRect getBaseVal()
SVGAnimatedRect#getBaseVal()
.public SVGRect getAnimVal()
SVGAnimatedRect#getAnimVal()
.protected void updateAnimatedValue(AnimatableValue val)
AnimatableValue
.updateAnimatedValue
in class AbstractSVGAnimatedValue
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue
.public void attrModified(Attr node, String oldv, String newv)
Copyright ? 2015 Apache Software Foundation. All Rights Reserved.