Module io.sf.carte.echosvg.anim
Package io.sf.carte.echosvg.anim.dom
Class SVGOMAnimatedTransformList
java.lang.Object
io.sf.carte.echosvg.anim.dom.AbstractSVGAnimatedValue
io.sf.carte.echosvg.anim.dom.SVGOMAnimatedTransformList
- All Implemented Interfaces:
AnimatedLiveAttributeValue
,LiveAttributeValue
,SVGAnimatedTransformList
public class SVGOMAnimatedTransformList
extends AbstractSVGAnimatedValue
implements SVGAnimatedTransformList
This class is the implementation of the SVGAnimatedTransformList interface.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
SVGTransformList
implementation for the animated transform list value.class
SVGTransformList
implementation for the base transform list value. -
Field Summary
Modifier and TypeFieldDescriptionThe animated value.The base value.protected boolean
Whether the list is changing.protected String
Default value for the 'transform' attribute.Fields inherited from class io.sf.carte.echosvg.anim.dom.AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI
-
Constructor Summary
ConstructorDescriptionSVGOMAnimatedTransformList
(AbstractElement elt, String ns, String ln, String defaultValue) Creates a new SVGOMAnimatedTransformList. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.DOM: ImplementsSVGAnimatedTransformList.getAnimVal()
.DOM: ImplementsSVGAnimatedTransformList.getBaseVal()
.getUnderlyingValue
(AnimationTarget target) Returns the base value of the attribute as anAnimatableValue
.protected void
Updates the animated value with the givenAnimatableValue
.Methods inherited from class io.sf.carte.echosvg.anim.dom.AbstractSVGAnimatedValue
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener
-
Field Details
-
baseVal
The base value. -
animVal
The animated value. -
changing
protected boolean changingWhether the list is changing. -
defaultValue
Default value for the 'transform' attribute.
-
-
Constructor Details
-
SVGOMAnimatedTransformList
Creates a new SVGOMAnimatedTransformList.- Parameters:
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 Details
-
getBaseVal
DOM: ImplementsSVGAnimatedTransformList.getBaseVal()
.- Specified by:
getBaseVal
in interfaceSVGAnimatedTransformList
-
getAnimVal
DOM: ImplementsSVGAnimatedTransformList.getAnimVal()
.- Specified by:
getAnimVal
in interfaceSVGAnimatedTransformList
-
check
public void check()Throws an exception if the points list value is malformed. -
getUnderlyingValue
Returns the base value of the attribute as anAnimatableValue
.- Specified by:
getUnderlyingValue
in interfaceAnimatedLiveAttributeValue
-
updateAnimatedValue
Updates the animated value with the givenAnimatableValue
.- Specified by:
updateAnimatedValue
in classAbstractSVGAnimatedValue
-
attrAdded
Called when an Attr node has been added.- Specified by:
attrAdded
in interfaceLiveAttributeValue
-
attrModified
Called when an Attr node has been modified.- Specified by:
attrModified
in interfaceLiveAttributeValue
-
attrRemoved
Called when an Attr node has been removed.- Specified by:
attrRemoved
in interfaceLiveAttributeValue
-