org.apache.batik.css.engine.value.svg

Class SVGPaintManager

public class SVGPaintManager extends SVGColorManager

This class provides a manager for the SVGPaint property values.
Constructor Summary
SVGPaintManager(String prop)
Creates a new SVGPaintManager.
SVGPaintManager(String prop, Value v)
Creates a new SVGPaintManager.
Method Summary
ValuecomputeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
Implements {@link ValueManager#computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value)}.
ValuecreateValue(LexicalUnit lu, CSSEngine engine)
Implements {@link ValueManager#createValue(LexicalUnit,CSSEngine)}.
intgetPropertyType()
Implements {@link ValueManager#getPropertyType()}.
booleanisAdditiveProperty()
Implements {@link ValueManager#isAdditiveProperty()}.
booleanisAnimatableProperty()
Implements {@link ValueManager#isAnimatableProperty()}.
booleanisInheritedProperty()
Implements {@link ValueManager#isInheritedProperty()}.

Constructor Detail

SVGPaintManager

public SVGPaintManager(String prop)
Creates a new SVGPaintManager.

SVGPaintManager

public SVGPaintManager(String prop, Value v)
Creates a new SVGPaintManager.

Parameters: prop The property name. v The default value.

Method Detail

computeValue

public Value computeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
Implements {@link ValueManager#computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value)}.

createValue

public Value createValue(LexicalUnit lu, CSSEngine engine)
Implements {@link ValueManager#createValue(LexicalUnit,CSSEngine)}.

getPropertyType

public int getPropertyType()
Implements {@link ValueManager#getPropertyType()}.

isAdditiveProperty

public boolean isAdditiveProperty()
Implements {@link ValueManager#isAdditiveProperty()}.

isAnimatableProperty

public boolean isAnimatableProperty()
Implements {@link ValueManager#isAnimatableProperty()}.

isInheritedProperty

public boolean isInheritedProperty()
Implements {@link ValueManager#isInheritedProperty()}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.