org.apache.batik.bridge

Class SVGAnimationEngine.CSSValueFactory

protected abstract class SVGAnimationEngine.CSSValueFactory extends Object implements SVGAnimationEngine.Factory

Factory class for AnimatableValues for CSS properties. XXX Shorthand properties are not supported.
Method Summary
protected ValuecomputeValue(CSSStylableElement elt, String pn, Value v)
Computes a CSS {@link Value} and performance inheritance if the specified value is 'inherit'.
protected abstract AnimatableValuecreateAnimatableValue(AnimationTarget target, String pn, Value v)
Creates a new AnimatableValue from a CSS {@link Value}, after computation and inheritance.
protected ValuecreateCSSValue(AnimationTarget t, String pn, String s)
Creates a new CSS {@link Value} from a string.
AnimatableValuecreateValue(AnimationTarget target, String ns, String ln, boolean isCSS, String s)
AnimatableValuecreateValue(AnimationTarget target, String pn, Value v)

Method Detail

computeValue

protected Value computeValue(CSSStylableElement elt, String pn, Value v)
Computes a CSS {@link Value} and performance inheritance if the specified value is 'inherit'.

createAnimatableValue

protected abstract AnimatableValue createAnimatableValue(AnimationTarget target, String pn, Value v)
Creates a new AnimatableValue from a CSS {@link Value}, after computation and inheritance.

createCSSValue

protected Value createCSSValue(AnimationTarget t, String pn, String s)
Creates a new CSS {@link Value} from a string.

createValue

public AnimatableValue createValue(AnimationTarget target, String ns, String ln, boolean isCSS, String s)

createValue

public AnimatableValue createValue(AnimationTarget target, String pn, Value v)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.