Class SVGPaintManager
java.lang.Object
org.apache.batik.css.engine.value.AbstractValueFactory
org.apache.batik.css.engine.value.AbstractValueManager
org.apache.batik.css.engine.value.IdentifierManager
org.apache.batik.css.engine.value.AbstractColorManager
org.apache.batik.css.engine.value.svg.ColorManager
org.apache.batik.css.engine.value.svg.SVGColorManager
org.apache.batik.css.engine.value.svg.SVGPaintManager
- All Implemented Interfaces:
ValueManager
This class provides a manager for the SVGPaint property values.
-
Field Summary
Fields inherited from class org.apache.batik.css.engine.value.svg.SVGColorManager
defaultValue, propertyFields inherited from class org.apache.batik.css.engine.value.svg.ColorManager
DEFAULT_VALUEFields inherited from class org.apache.batik.css.engine.value.AbstractColorManager
computedValues, values -
Constructor Summary
ConstructorsConstructorDescriptionSVGPaintManager(String prop) Creates a new SVGPaintManager.SVGPaintManager(String prop, Value v) Creates a new SVGPaintManager. -
Method Summary
Modifier and TypeMethodDescriptioncomputeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value) createValue(org.w3c.css.sac.LexicalUnit lu, CSSEngine engine) ImplementsValueManager.createValue(LexicalUnit,CSSEngine).intImplementsValueManager.getPropertyType().booleanImplementsValueManager.isAdditiveProperty().booleanImplementsValueManager.isAnimatableProperty().booleanImplementsValueManager.isInheritedProperty().Methods inherited from class org.apache.batik.css.engine.value.svg.SVGColorManager
getColorValue, getDefaultValue, getPropertyNameMethods inherited from class org.apache.batik.css.engine.value.AbstractColorManager
createColorComponent, createRGBColor, getIdentifiersMethods inherited from class org.apache.batik.css.engine.value.IdentifierManager
createStringValueMethods inherited from class org.apache.batik.css.engine.value.AbstractValueManager
createFloatValueMethods inherited from class org.apache.batik.css.engine.value.AbstractValueFactory
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, resolveURI
-
Constructor Details
-
SVGPaintManager
Creates a new SVGPaintManager. -
SVGPaintManager
Creates a new SVGPaintManager.- Parameters:
prop- The property name.v- The default value.
-
-
Method Details
-
isInheritedProperty
public boolean isInheritedProperty()ImplementsValueManager.isInheritedProperty().- Specified by:
isInheritedPropertyin interfaceValueManager- Overrides:
isInheritedPropertyin classSVGColorManager
-
isAnimatableProperty
public boolean isAnimatableProperty()ImplementsValueManager.isAnimatableProperty().- Specified by:
isAnimatablePropertyin interfaceValueManager- Overrides:
isAnimatablePropertyin classSVGColorManager
-
isAdditiveProperty
public boolean isAdditiveProperty()ImplementsValueManager.isAdditiveProperty().- Specified by:
isAdditivePropertyin interfaceValueManager- Overrides:
isAdditivePropertyin classSVGColorManager
-
getPropertyType
public int getPropertyType()ImplementsValueManager.getPropertyType().- Specified by:
getPropertyTypein interfaceValueManager- Overrides:
getPropertyTypein classSVGColorManager
-
createValue
ImplementsValueManager.createValue(LexicalUnit,CSSEngine).- Specified by:
createValuein interfaceValueManager- Overrides:
createValuein classSVGColorManager- Parameters:
lu- The SAC lexical unit used to create the value.engine- The calling CSSEngine.- Throws:
DOMException
-
computeValue
public Value computeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value) - Specified by:
computeValuein interfaceValueManager- Overrides:
computeValuein classSVGColorManager- Parameters:
elt- The owner of the value.pseudo- The pseudo element.engine- The CSSEngine.idx- The property index in the engine.sm- The computed style map.value- The value to compute.
-