public interface ValueManager
Type | Property and Description |
---|---|
boolean |
isAdditive
Gets the value of the property additiveProperty.
|
boolean |
isAnimatable
Gets the value of the property animatableProperty.
|
boolean |
isInherited
Gets the value of the property inheritedProperty.
|
Modifier and Type | Method and Description |
---|---|
Value |
computeValue(CSSStylableElement elt,
java.lang.String pseudo,
CSSEngine engine,
int idx,
StyleMap sm,
Value value)
Computes the given value.
|
Value |
createFloatValue(short unitType,
float floatValue)
Creates and returns a new float value.
|
Value |
createStringValue(short type,
java.lang.String value,
CSSEngine engine)
Creates and returns a new string value.
|
Value |
createValue(LexicalUnit lu,
CSSEngine engine)
Creates a value from a lexical unit.
|
Value |
getDefaultValue()
Returns the default value for the handled property.
|
java.lang.String |
getPropertyName()
Returns the name of the property handled.
|
int |
getPropertyType()
Returns the type of value this manager handles.
|
boolean |
isAdditiveProperty()
Gets the value of the property additiveProperty.
|
boolean |
isAnimatableProperty()
Gets the value of the property animatableProperty.
|
boolean |
isInheritedProperty()
Gets the value of the property inheritedProperty.
|
boolean isInheritedProperty
boolean isAnimatableProperty
boolean isAdditiveProperty
java.lang.String getPropertyName()
boolean isInheritedProperty()
boolean isAnimatableProperty()
boolean isAdditiveProperty()
int getPropertyType()
SVGTypes
.Value getDefaultValue()
Value createValue(LexicalUnit lu, CSSEngine engine) throws org.w3c.dom.DOMException
lu
- The SAC lexical unit used to create the value.engine
- The calling CSSEngine.org.w3c.dom.DOMException
Value createFloatValue(short unitType, float floatValue) throws org.w3c.dom.DOMException
unitType
- A unit code as defined above. The unit code can only
be a float unit typefloatValue
- The new float value.org.w3c.dom.DOMException
Value createStringValue(short type, java.lang.String value, CSSEngine engine) throws org.w3c.dom.DOMException
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.org.w3c.dom.DOMException
Value computeValue(CSSStylableElement elt, java.lang.String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
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 ? 2015 Apache Software Foundation. All Rights Reserved.