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 ValueManager.
ValuecreateValue(LexicalUnit lu, CSSEngine engine)
Implements createValue.
intgetPropertyType()
Implements getPropertyType.
booleanisAdditiveProperty()
Implements isAdditiveProperty.
booleanisAnimatableProperty()
booleanisInheritedProperty()
Implements 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 ValueManager.

createValue

public Value createValue(LexicalUnit lu, CSSEngine engine)
Implements createValue.

getPropertyType

public int getPropertyType()
Implements getPropertyType.

isAdditiveProperty

public boolean isAdditiveProperty()
Implements isAdditiveProperty.

isAnimatableProperty

public boolean isAnimatableProperty()
Implements isAnimatableProperty.

isInheritedProperty

public boolean isInheritedProperty()
Implements isInheritedProperty.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.