AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedPreserveAspectRatiopublic class SVGOMAnimatedPreserveAspectRatio extends AbstractSVGAnimatedValue implements org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio
SVGAnimatedPreserveAspectRatio interface.| Modifier and Type | Class | Description |
|---|---|---|
class |
SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue |
This class represents the SVGPreserveAspectRatio returned by
getAnimVal(). |
class |
SVGOMAnimatedPreserveAspectRatio.BaseSVGPARValue |
This class represents the SVGPreserveAspectRatio returned by
getBaseVal(). |
| Modifier and Type | Field | Description |
|---|---|---|
protected SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue |
animVal |
The animated value.
|
protected SVGOMAnimatedPreserveAspectRatio.BaseSVGPARValue |
baseVal |
The base value.
|
protected boolean |
changing |
Whether the value is changing.
|
element, hasAnimVal, listeners, localName, namespaceURI| Constructor | Description |
|---|---|
SVGOMAnimatedPreserveAspectRatio(AbstractElement elt) |
Creates a new SVGOMAnimatedPreserveAspectRatio.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
attrAdded(org.w3c.dom.Attr node,
java.lang.String newv) |
Called when an Attr node has been added.
|
void |
attrModified(org.w3c.dom.Attr node,
java.lang.String oldv,
java.lang.String newv) |
Called when an Attr node has been modified.
|
void |
attrRemoved(org.w3c.dom.Attr node,
java.lang.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. |
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListenerprotected SVGOMAnimatedPreserveAspectRatio.BaseSVGPARValue baseVal
protected SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue animVal
protected boolean changing
public SVGOMAnimatedPreserveAspectRatio(AbstractElement elt)
elt - The associated element.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 AbstractSVGAnimatedValuepublic void attrAdded(org.w3c.dom.Attr node,
java.lang.String newv)
attrAdded in interface LiveAttributeValuepublic void attrModified(org.w3c.dom.Attr node,
java.lang.String oldv,
java.lang.String newv)
attrModified in interface LiveAttributeValuepublic void attrRemoved(org.w3c.dom.Attr node,
java.lang.String oldv)
attrRemoved in interface LiveAttributeValueCopyright ? 2018 Apache Software Foundation. All Rights Reserved.