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
Nested ClassesModifier and TypeClassDescriptionprotected classSVGTransformListimplementation for the animated transform list value.classSVGTransformListimplementation for the base transform list value. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe animated value.The base value.protected booleanWhether the list is changing.protected StringDefault value for the 'transform' attribute.Fields inherited from class io.sf.carte.echosvg.anim.dom.AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI -
Constructor Summary
ConstructorsConstructorDescriptionSVGOMAnimatedTransformList(AbstractElement elt, String ns, String ln, String defaultValue) Creates a new SVGOMAnimatedTransformList. -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when an Attr node has been added.voidattrModified(Attr node, String oldv, String newv) Called when an Attr node has been modified.voidattrRemoved(Attr node, String oldv) Called when an Attr node has been removed.voidcheck()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 voidUpdates 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:
getBaseValin interfaceSVGAnimatedTransformList
-
getAnimVal
DOM: ImplementsSVGAnimatedTransformList.getAnimVal().- Specified by:
getAnimValin 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:
getUnderlyingValuein interfaceAnimatedLiveAttributeValue
-
updateAnimatedValue
Updates the animated value with the givenAnimatableValue.- Specified by:
updateAnimatedValuein classAbstractSVGAnimatedValue
-
attrAdded
Called when an Attr node has been added.- Specified by:
attrAddedin interfaceLiveAttributeValue
-
attrModified
Called when an Attr node has been modified.- Specified by:
attrModifiedin interfaceLiveAttributeValue
-
attrRemoved
Called when an Attr node has been removed.- Specified by:
attrRemovedin interfaceLiveAttributeValue
-