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.
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ValuecomputeValue(CSSStylableElement elt, String pn, Value v) Computes a CSSValueand performance inheritance if the specified value is 'inherit'.protected abstract AnimatableValuecreateAnimatableValue(AnimationTarget target, String pn, Value v) Creates a new AnimatableValue from a CSSValue, after computation and inheritance.protected ValuecreateCSSValue(AnimationTarget t, String pn, String s) Creates a new CSSValuefrom 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.FactoryCreates a new AnimatableValue from a string.- Specified by:
createValuein interfaceSVGAnimationEngine.Factory
-
createValue
Description copied from interface:SVGAnimationEngine.FactoryCreates a new AnimatableValue from a CSSValue.- Specified by:
createValuein 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 CSSValuefrom a string. -
computeValue
Computes a CSSValueand performance inheritance if the specified value is 'inherit'.
-