Module io.sf.carte.echosvg.bridge
Package io.sf.carte.echosvg.bridge
Class SVGAnimationEngine.AnimatableNumberListValueFactory
java.lang.Object
io.sf.carte.echosvg.bridge.SVGAnimationEngine.AnimatableNumberListValueFactory
- All Implemented Interfaces:
SVGAnimationEngine.Factory
- Enclosing class:
SVGAnimationEngine
protected static class SVGAnimationEngine.AnimatableNumberListValueFactory
extends Object
implements SVGAnimationEngine.Factory
Factory class for
AnimatableNumberListValue
s.-
Field Summary
Modifier and TypeFieldDescriptionprotected NumberListParser
Parser for number lists.protected FloatArrayProducer
The producer class that accumulates the numbers. -
Constructor Summary
ConstructorDescriptionCreates a new AnimatableNumberListValueFactory. -
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 number lists. -
producer
The producer class that accumulates the numbers.
-
-
Constructor Details
-
AnimatableNumberListValueFactory
public AnimatableNumberListValueFactory()Creates a new AnimatableNumberListValueFactory.
-
-
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 number lists aren't used in CSS values.- Specified by:
createValue
in interfaceSVGAnimationEngine.Factory
-