|
||||||||||
| 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.SVGOMAnimatedLengthList
public class SVGOMAnimatedLengthList
This class is the implementation of the SVGAnimatedLengthList
interface.
| Nested Class Summary | |
|---|---|
protected class |
SVGOMAnimatedLengthList.AnimSVGLengthList
SVGLengthList implementation for the animated length list value. |
class |
SVGOMAnimatedLengthList.BaseSVGLengthList
SVGLengthList implementation for the base length list value. |
| Field Summary | |
|---|---|
protected SVGOMAnimatedLengthList.AnimSVGLengthList |
animVal
The animated value. |
protected SVGOMAnimatedLengthList.BaseSVGLengthList |
baseVal
The base value. |
protected boolean |
changing
Whether the list is changing. |
protected String |
defaultValue
Default value for the length list. |
protected short |
direction
The direction of the lengths in this list. |
protected boolean |
emptyAllowed
Whether empty length lists are allowed. |
| Fields inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue |
|---|
element, hasAnimVal, listeners, localName, namespaceURI |
| Constructor Summary | |
|---|---|
SVGOMAnimatedLengthList(AbstractElement elt,
String ns,
String ln,
String defaultValue,
boolean emptyAllowed,
short direction)
Creates a new SVGOMAnimatedLengthList. |
|
| 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. |
void |
check()
Throws an exception if the length list value is malformed. |
org.w3c.dom.svg.SVGLengthList |
getAnimVal()
DOM: Implements SVGAnimatedLengthList.getAnimVal(). |
org.w3c.dom.svg.SVGLengthList |
getBaseVal()
DOM: Implements SVGAnimatedLengthList.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 SVGOMAnimatedLengthList.BaseSVGLengthList baseVal
protected SVGOMAnimatedLengthList.AnimSVGLengthList animVal
protected boolean changing
protected String defaultValue
protected boolean emptyAllowed
protected short direction
| Constructor Detail |
|---|
public SVGOMAnimatedLengthList(AbstractElement elt,
String ns,
String ln,
String defaultValue,
boolean emptyAllowed,
short direction)
elt - The associated element.ns - The attribute's namespace URI.ln - The attribute's local name.defaultValue - The default value if the attribute is not specified.emptyAllowed - Whether a list with no items is allowed.direction - The direction of the lengths in the list.| Method Detail |
|---|
public org.w3c.dom.svg.SVGLengthList getBaseVal()
SVGAnimatedLengthList.getBaseVal().
getBaseVal in interface org.w3c.dom.svg.SVGAnimatedLengthListpublic org.w3c.dom.svg.SVGLengthList getAnimVal()
SVGAnimatedLengthList.getAnimVal().
getAnimVal in interface org.w3c.dom.svg.SVGAnimatedLengthListpublic void check()
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue.
getUnderlyingValue in interface AnimatedLiveAttributeValueprotected void updateAnimatedValue(AnimatableValue val)
AnimatableValue.
updateAnimatedValue in class AbstractSVGAnimatedValue
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 | |||||||||