|
||||||||||
| 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.SVGOMAnimatedPreserveAspectRatio
public class SVGOMAnimatedPreserveAspectRatio
This class implements the SVGAnimatedPreserveAspectRatio interface.
| Nested Class Summary | |
|---|---|
class |
SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue
This class represents the SVGPreserveAspectRatio returned by getAnimVal(). |
class |
SVGOMAnimatedPreserveAspectRatio.BaseSVGPARValue
This class represents the SVGPreserveAspectRatio returned by getBaseVal(). |
| Field Summary | |
|---|---|
protected SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue |
animVal
The animated value. |
protected SVGOMAnimatedPreserveAspectRatio.BaseSVGPARValue |
baseVal
The base value. |
protected boolean |
changing
Whether the value is changing. |
| Fields inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue |
|---|
element, hasAnimVal, listeners, localName, namespaceURI |
| Constructor Summary | |
|---|---|
SVGOMAnimatedPreserveAspectRatio(AbstractElement elt)
Creates a new SVGOMAnimatedPreserveAspectRatio. |
|
| 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. |
org.w3c.dom.svg.SVGPreserveAspectRatio |
getAnimVal()
DOM: Implements SVGAnimatedPreserveAspectRatio.getAnimVal(). |
org.w3c.dom.svg.SVGPreserveAspectRatio |
getBaseVal()
DOM: Implements SVGAnimatedPreserveAspectRatio.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 SVGOMAnimatedPreserveAspectRatio.BaseSVGPARValue baseVal
protected SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue animVal
protected boolean changing
| Constructor Detail |
|---|
public SVGOMAnimatedPreserveAspectRatio(AbstractElement elt)
elt - The associated element.| Method Detail |
|---|
public org.w3c.dom.svg.SVGPreserveAspectRatio getBaseVal()
SVGAnimatedPreserveAspectRatio.getBaseVal().
getBaseVal in interface org.w3c.dom.svg.SVGAnimatedPreserveAspectRatiopublic org.w3c.dom.svg.SVGPreserveAspectRatio getAnimVal()
SVGAnimatedPreserveAspectRatio.getAnimVal().
getAnimVal in interface org.w3c.dom.svg.SVGAnimatedPreserveAspectRatiopublic 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 | |||||||||