|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public class SVGColorManager
This class provides a manager for the SVGColor property values.
| Field Summary | |
|---|---|
protected Value |
defaultValue
The default value. |
protected String |
property
The name of the handled property. |
| Fields inherited from class org.apache.batik.css.engine.value.svg.ColorManager |
|---|
DEFAULT_VALUE |
| Fields inherited from class org.apache.batik.css.engine.value.AbstractColorManager |
|---|
computedValues, values |
| Constructor Summary | |
|---|---|
SVGColorManager(String prop)
Creates a new SVGColorManager. |
|
SVGColorManager(String prop,
Value v)
Creates a new SVGColorManager. |
|
| Method Summary | |
|---|---|
Value |
computeValue(CSSStylableElement elt,
String pseudo,
CSSEngine engine,
int idx,
StyleMap sm,
Value value)
Implements ValueManager.computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value). |
Value |
createValue(org.w3c.css.sac.LexicalUnit lu,
CSSEngine engine)
Implements ValueManager.createValue(LexicalUnit,CSSEngine). |
protected float |
getColorValue(org.w3c.css.sac.LexicalUnit lu)
Creates a float value usable as a component of an RGBColor. |
Value |
getDefaultValue()
Implements ValueManager.getDefaultValue(). |
String |
getPropertyName()
Implements ValueManager.getPropertyName(). |
int |
getPropertyType()
Implements ValueManager.getPropertyType(). |
boolean |
isAdditiveProperty()
Implements ValueManager.isAdditiveProperty(). |
boolean |
isAnimatableProperty()
Implements ValueManager.isAnimatableProperty(). |
boolean |
isInheritedProperty()
Implements ValueManager.isInheritedProperty(). |
| Methods inherited from class org.apache.batik.css.engine.value.AbstractColorManager |
|---|
createColorComponent, createRGBColor, getIdentifiers |
| Methods inherited from class org.apache.batik.css.engine.value.IdentifierManager |
|---|
createStringValue |
| Methods inherited from class org.apache.batik.css.engine.value.AbstractValueManager |
|---|
createFloatValue |
| Methods inherited from class org.apache.batik.css.engine.value.AbstractValueFactory |
|---|
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, resolveURI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String property
protected Value defaultValue
| Constructor Detail |
|---|
public SVGColorManager(String prop)
public SVGColorManager(String prop,
Value v)
| Method Detail |
|---|
public boolean isInheritedProperty()
ValueManager.isInheritedProperty().
isInheritedProperty in interface ValueManagerisInheritedProperty in class ColorManagerpublic boolean isAnimatableProperty()
ValueManager.isAnimatableProperty().
isAnimatableProperty in interface ValueManagerisAnimatableProperty in class ColorManagerpublic boolean isAdditiveProperty()
ValueManager.isAdditiveProperty().
isAdditiveProperty in interface ValueManagerisAdditiveProperty in class ColorManagerpublic int getPropertyType()
ValueManager.getPropertyType().
getPropertyType in interface ValueManagergetPropertyType in class ColorManagerpublic String getPropertyName()
ValueManager.getPropertyName().
getPropertyName in interface ValueManagergetPropertyName in class ColorManagerpublic Value getDefaultValue()
ValueManager.getDefaultValue().
getDefaultValue in interface ValueManagergetDefaultValue in class ColorManager
public Value createValue(org.w3c.css.sac.LexicalUnit lu,
CSSEngine engine)
throws DOMException
ValueManager.createValue(LexicalUnit,CSSEngine).
createValue in interface ValueManagercreateValue in class AbstractColorManagerlu - The SAC lexical unit used to create the value.engine - The calling CSSEngine.
DOMException
public Value computeValue(CSSStylableElement elt,
String pseudo,
CSSEngine engine,
int idx,
StyleMap sm,
Value value)
ValueManager.computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value).
computeValue in interface ValueManagercomputeValue in class AbstractColorManagerelt - 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.protected float getColorValue(org.w3c.css.sac.LexicalUnit lu)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||