public abstract class AbstractColorManager extends IdentifierManager
| Modifier and Type | Field and Description |
|---|---|
protected static StringMap |
computedValues
The computed identifier values.
|
protected static StringMap |
values
The identifier values.
|
| Constructor and Description |
|---|
AbstractColorManager() |
| Modifier and Type | Method and Description |
|---|---|
Value |
computeValue(CSSStylableElement elt,
String pseudo,
CSSEngine engine,
int idx,
StyleMap sm,
Value value)
|
protected Value |
createColorComponent(org.w3c.css.sac.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(org.w3c.css.sac.LexicalUnit lu,
CSSEngine engine)
Implements
ValueManager.createValue(LexicalUnit,CSSEngine). |
StringMap |
getIdentifiers()
Implements
IdentifierManager.getIdentifiers(). |
createStringValuecreateFloatValuecreateDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, getPropertyName, resolveURIclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultValue, getPropertyName, getPropertyType, isAdditiveProperty, isAnimatableProperty, isInheritedPropertyprotected static final StringMap values
protected static final StringMap computedValues
public Value createValue(org.w3c.css.sac.LexicalUnit lu, CSSEngine engine) throws DOMException
ValueManager.createValue(LexicalUnit,CSSEngine).createValue in interface ValueManagercreateValue in class IdentifierManagerlu - The SAC lexical unit used to create the value.engine - The calling CSSEngine.DOMExceptionpublic Value computeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
computeValue in interface ValueManagercomputeValue in class AbstractValueManagerelt - 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 createColorComponent(org.w3c.css.sac.LexicalUnit lu) throws DOMException
DOMExceptionpublic StringMap getIdentifiers()
IdentifierManager.getIdentifiers().getIdentifiers in class IdentifierManagerCopyright © 2000–2017 Apache Software Foundation. All rights reserved.