Package org.apache.batik.bridge
Class SVGAnimationEngine.CSSValueFactory
java.lang.Object
org.apache.batik.bridge.SVGAnimationEngine.CSSValueFactory
- All Implemented Interfaces:
SVGAnimationEngine.Factory
- Direct Known Subclasses:
SVGAnimationEngine.AnimatableAngleOrIdentFactory
,SVGAnimationEngine.AnimatableAngleValueFactory
,SVGAnimationEngine.AnimatableColorValueFactory
,SVGAnimationEngine.AnimatableLengthOrIdentFactory
,SVGAnimationEngine.AnimatableNumberOrIdentFactory
,SVGAnimationEngine.AnimatablePaintValueFactory
,SVGAnimationEngine.AnimatableStringValueFactory
- Enclosing class:
- SVGAnimationEngine
protected abstract class SVGAnimationEngine.CSSValueFactory
extends Object
implements SVGAnimationEngine.Factory
Factory class for AnimatableValues for CSS properties.
XXX Shorthand properties are not supported.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Value
computeValue
(CSSStylableElement elt, String pn, Value v) Computes a CSSValue
and performance inheritance if the specified value is 'inherit'.protected abstract AnimatableValue
createAnimatableValue
(AnimationTarget target, String pn, Value v) Creates a new AnimatableValue from a CSSValue
, after computation and inheritance.protected Value
createCSSValue
(AnimationTarget t, String pn, String s) Creates a new CSSValue
from a string.createValue
(AnimationTarget target, String ns, String ln, boolean isCSS, String s) Creates a new AnimatableValue from a string.createValue
(AnimationTarget target, String pn, Value v) Creates a new AnimatableValue from a CSSValue
.
-
Constructor Details
-
CSSValueFactory
protected CSSValueFactory()
-
-
Method Details
-
createValue
public AnimatableValue createValue(AnimationTarget target, String ns, String ln, boolean isCSS, String s) Description copied from interface:SVGAnimationEngine.Factory
Creates a new AnimatableValue from a string.- Specified by:
createValue
in interfaceSVGAnimationEngine.Factory
-
createValue
Description copied from interface:SVGAnimationEngine.Factory
Creates a new AnimatableValue from a CSSValue
.- Specified by:
createValue
in interfaceSVGAnimationEngine.Factory
-
createAnimatableValue
protected abstract AnimatableValue createAnimatableValue(AnimationTarget target, String pn, Value v) Creates a new AnimatableValue from a CSSValue
, after computation and inheritance. -
createCSSValue
Creates a new CSSValue
from a string. -
computeValue
Computes a CSSValue
and performance inheritance if the specified value is 'inherit'.
-