Module io.sf.carte.echosvg.bridge
Package io.sf.carte.echosvg.bridge
Class SVGAnimationEngine.AnimatableLengthListValueFactory
java.lang.Object
io.sf.carte.echosvg.bridge.SVGAnimationEngine.AnimatableLengthListValueFactory
- All Implemented Interfaces:
SVGAnimationEngine.Factory
- Enclosing class:
SVGAnimationEngine
protected static class SVGAnimationEngine.AnimatableLengthListValueFactory
extends Object
implements SVGAnimationEngine.Factory
Factory class for
AnimatableLengthListValue
s.-
Field Summary
Modifier and TypeFieldDescriptionprotected LengthListParser
Parser for length lists.protected LengthArrayProducer
The producer class that accumulates the lengths. -
Constructor Summary
ConstructorDescriptionCreates a new AnimatableLengthListValueFactory. -
Method Summary
Modifier and TypeMethodDescriptioncreateValue
(AnimationTarget target, String pn, Value v) Creates a new AnimatableValue from a CSSValue
.createValue
(AnimationTarget target, String ns, String ln, boolean isCSS, String s) Creates a new AnimatableValue from a string.
-
Field Details
-
parser
Parser for length lists. -
producer
The producer class that accumulates the lengths.
-
-
Constructor Details
-
AnimatableLengthListValueFactory
public AnimatableLengthListValueFactory()Creates a new AnimatableLengthListValueFactory.
-
-
Method Details
-
createValue
public AnimatableValue createValue(AnimationTarget target, String ns, String ln, boolean isCSS, String s) Creates a new AnimatableValue from a string.- Specified by:
createValue
in interfaceSVGAnimationEngine.Factory
-
createValue
Creates a new AnimatableValue from a CSSValue
. Returns null since point lists aren't used in CSS values.- Specified by:
createValue
in interfaceSVGAnimationEngine.Factory
-