public class SVGPaintManager extends SVGColorManager
defaultValue, property
DEFAULT_VALUE
computedValues, values
Constructor and Description |
---|
SVGPaintManager(java.lang.String prop)
Creates a new SVGPaintManager.
|
SVGPaintManager(java.lang.String prop,
Value v)
Creates a new SVGPaintManager.
|
Modifier and Type | Method and Description |
---|---|
Value |
computeValue(CSSStylableElement elt,
java.lang.String pseudo,
CSSEngine engine,
int idx,
StyleMap sm,
Value value)
|
Value |
createValue(org.w3c.css.sac.LexicalUnit lu,
CSSEngine engine)
Implements
ValueManager.createValue(LexicalUnit,CSSEngine) . |
int |
getPropertyType()
Implements
ValueManager.getPropertyType() . |
boolean |
isAdditiveProperty()
Implements
ValueManager.isAdditiveProperty() . |
boolean |
isAnimatableProperty()
Implements
ValueManager.isAnimatableProperty() . |
boolean |
isInheritedProperty()
Implements
ValueManager.isInheritedProperty() . |
getColorValue, getDefaultValue, getPropertyName
createColorComponent, createRGBColor, getIdentifiers
createStringValue
createFloatValue
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, resolveURI
public SVGPaintManager(java.lang.String prop)
public SVGPaintManager(java.lang.String prop, Value v)
prop
- The property name.v
- The default value.public boolean isInheritedProperty()
ValueManager.isInheritedProperty()
.isInheritedProperty
in interface ValueManager
isInheritedProperty
in class SVGColorManager
public boolean isAnimatableProperty()
ValueManager.isAnimatableProperty()
.isAnimatableProperty
in interface ValueManager
isAnimatableProperty
in class SVGColorManager
public boolean isAdditiveProperty()
ValueManager.isAdditiveProperty()
.isAdditiveProperty
in interface ValueManager
isAdditiveProperty
in class SVGColorManager
public int getPropertyType()
ValueManager.getPropertyType()
.getPropertyType
in interface ValueManager
getPropertyType
in class SVGColorManager
public Value createValue(org.w3c.css.sac.LexicalUnit lu, CSSEngine engine) throws DOMException
ValueManager.createValue(LexicalUnit,CSSEngine)
.createValue
in interface ValueManager
createValue
in class SVGColorManager
lu
- The SAC lexical unit used to create the value.engine
- The calling CSSEngine.DOMException
public Value computeValue(CSSStylableElement elt, java.lang.String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
computeValue
in interface ValueManager
computeValue
in class SVGColorManager
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.Copyright © 2022 Apache Software Foundation. All Rights Reserved.