public abstract class AbstractValueManager extends AbstractValueFactory implements ValueManager
Constructor and Description |
---|
AbstractValueManager() |
Modifier and Type | Method and Description |
---|---|
Value |
computeValue(CSSStylableElement elt,
java.lang.String pseudo,
CSSEngine engine,
int idx,
StyleMap sm,
Value value)
|
Value |
createFloatValue(short unitType,
float floatValue)
Implements
ValueManager.createFloatValue(short,float) . |
Value |
createStringValue(short type,
java.lang.String value,
CSSEngine engine)
|
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, getPropertyName, resolveURI
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createValue, getDefaultValue, getPropertyName, getPropertyType, isAdditiveProperty, isAnimatableProperty, isInheritedProperty
public Value createFloatValue(short unitType, float floatValue) throws DOMException
ValueManager.createFloatValue(short,float)
.createFloatValue
in interface ValueManager
unitType
- A unit code as defined above. The unit code can only
be a float unit typefloatValue
- The new float value.DOMException
public Value createStringValue(short type, java.lang.String value, CSSEngine engine) throws DOMException
createStringValue
in interface ValueManager
type
- A string code as defined in CSSPrimitiveValue. The string
code can only be a string unit type.value
- The new string value.engine
- The CSS engine.DOMException
public Value computeValue(CSSStylableElement elt, java.lang.String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
computeValue
in interface ValueManager
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.