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 java.lang.Object implements SVGAnimationEngine.Factory
Factory class for AnimatableValues for CSS properties. XXX Shorthand properties are not supported.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCSSValueFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ValuecomputeValue(CSSStylableElement elt, java.lang.String pn, Value v)Computes a CSSValueand performance inheritance if the specified value is 'inherit'.protected abstract AnimatableValuecreateAnimatableValue(AnimationTarget target, java.lang.String pn, Value v)Creates a new AnimatableValue from a CSSValue, after computation and inheritance.protected ValuecreateCSSValue(AnimationTarget t, java.lang.String pn, java.lang.String s)Creates a new CSSValuefrom a string.AnimatableValuecreateValue(AnimationTarget target, java.lang.String ns, java.lang.String ln, boolean isCSS, java.lang.String s)Creates a new AnimatableValue from a string.AnimatableValuecreateValue(AnimationTarget target, java.lang.String pn, Value v)Creates a new AnimatableValue from a CSSValue.
-
-
-
Method Detail
-
createValue
public AnimatableValue createValue(AnimationTarget target, java.lang.String ns, java.lang.String ln, boolean isCSS, java.lang.String s)
Description copied from interface:SVGAnimationEngine.FactoryCreates a new AnimatableValue from a string.- Specified by:
createValuein interfaceSVGAnimationEngine.Factory
-
createValue
public AnimatableValue createValue(AnimationTarget target, java.lang.String pn, Value v)
Description copied from interface:SVGAnimationEngine.FactoryCreates a new AnimatableValue from a CSSValue.- Specified by:
createValuein interfaceSVGAnimationEngine.Factory
-
createAnimatableValue
protected abstract AnimatableValue createAnimatableValue(AnimationTarget target, java.lang.String pn, Value v)
Creates a new AnimatableValue from a CSSValue, after computation and inheritance.
-
createCSSValue
protected Value createCSSValue(AnimationTarget t, java.lang.String pn, java.lang.String s)
Creates a new CSSValuefrom a string.
-
computeValue
protected Value computeValue(CSSStylableElement elt, java.lang.String pn, Value v)
Computes a CSSValueand performance inheritance if the specified value is 'inherit'.
-
-