|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
This class provides a manager for the property with support for CSS color values.
Field Summary | |
protected static StringMap |
computedValues
The computed identifier values. |
protected static StringMap |
values
The identifier values. |
Constructor Summary | |
AbstractColorManager()
|
Method Summary | |
Value |
computeValue(CSSStylableElement elt,
java.lang.String pseudo,
CSSEngine engine,
int idx,
StyleMap sm,
Value value)
Implements ValueManager.computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value) . |
protected Value |
createColorComponent(LexicalUnit lu)
Creates a color component from a lexical unit. |
protected Value |
createRGBColor(Value r,
Value g,
Value b)
Creates an RGB color. |
Value |
createValue(LexicalUnit lu,
CSSEngine engine)
Implements ValueManager.createValue(LexicalUnit,CSSEngine) . |
protected StringMap |
getIdentifiers()
Implements IdentifierManager.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, getPropertyName, resolveURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.batik.css.engine.value.ValueManager |
getDefaultValue, getPropertyName, isInheritedProperty |
Field Detail |
protected static final StringMap values
protected static final StringMap computedValues
Constructor Detail |
public AbstractColorManager()
Method Detail |
public Value createValue(LexicalUnit lu, CSSEngine engine) throws DOMException
ValueManager.createValue(LexicalUnit,CSSEngine)
.
createValue
in interface ValueManager
createValue
in class IdentifierManager
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)
ValueManager.computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value)
.
computeValue
in interface ValueManager
computeValue
in class AbstractValueManager
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.protected Value createRGBColor(Value r, Value g, Value b)
protected Value createColorComponent(LexicalUnit lu) throws DOMException
DOMException
protected StringMap getIdentifiers()
IdentifierManager.getIdentifiers()
.
getIdentifiers
in class IdentifierManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |