|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.dom.svg.AbstractSVGAnimatedValue
org.apache.batik.dom.svg.SVGOMAnimatedPoints
public class SVGOMAnimatedPoints
This class is the implementation of the SVGAnimatedPoints interface.
| Nested Class Summary | |
|---|---|
protected class |
SVGOMAnimatedPoints.AnimSVGPointList
SVGOMAnimatedPoints.BaseSVGPointList implementation for the animated point list value. |
protected class |
SVGOMAnimatedPoints.BaseSVGPointList
SVGOMAnimatedPoints.BaseSVGPointList implementation for the base point list value. |
| Field Summary | |
|---|---|
protected SVGOMAnimatedPoints.AnimSVGPointList |
animVal
The animated value. |
protected SVGOMAnimatedPoints.BaseSVGPointList |
baseVal
The base value. |
protected boolean |
changing
Whether the list is changing. |
protected String |
defaultValue
Default value for the point list. |
| Fields inherited from class org.apache.batik.dom.svg.AbstractSVGAnimatedValue |
|---|
element, hasAnimVal, listeners, localName, namespaceURI |
| Constructor Summary | |
|---|---|
SVGOMAnimatedPoints(AbstractElement elt,
String ns,
String ln,
String defaultValue)
Creates a new SVGOMAnimatedPoints. |
|
| 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 points list value is malformed. |
SVGPointList |
getAnimatedPoints()
DOM: Implements SVGAnimatedPoints#getAnimatedPoints(). |
SVGPointList |
getPoints()
DOM: Implements SVGAnimatedPoints#getPoints(). |
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.dom.svg.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 SVGOMAnimatedPoints.BaseSVGPointList baseVal
protected SVGOMAnimatedPoints.AnimSVGPointList animVal
protected boolean changing
protected String defaultValue
| Constructor Detail |
|---|
public SVGOMAnimatedPoints(AbstractElement elt,
String ns,
String ln,
String defaultValue)
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.| Method Detail |
|---|
public SVGPointList getPoints()
SVGAnimatedPoints#getPoints().
public SVGPointList getAnimatedPoints()
SVGAnimatedPoints#getAnimatedPoints().
public void check()
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue.
protected void updateAnimatedValue(AnimatableValue val)
AnimatableValue.
updateAnimatedValue in class AbstractSVGAnimatedValue
public void attrAdded(Attr node,
String newv)
public void attrModified(Attr node,
String oldv,
String newv)
public void attrRemoved(Attr node,
String oldv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||