| org.apache.batik.css.engine.value.ValueManager
All known Subclasses: org.apache.batik.css.engine.value.AbstractValueManager,
ValueManager | public interface ValueManager (Code) | | This interface is implemented by objects which manage the values associated
with a property.
author: Stephane Hillion version: $Id$ |
Method Summary | |
Value | computeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value) Computes the given value. | Value | createFloatValue(short unitType, float floatValue, CSSEngine engine) Creates and returns a new float value.
Parameters: unitType - A unit code as defined above. | Value | createStringValue(short type, String value, CSSEngine engine) Creates and returns a new string value.
Parameters: type - A string code as defined in CSSPrimitiveValue. | Value | createValue(LexicalUnit lu, CSSEngine engine) Creates a value from a lexical unit. | Value | getDefaultValue() Returns the default value for the handled property. | String | getPropertyName() Returns the name of the property handled. | boolean | isInheritedProperty() Whether the handled property is inherited or not. |
computeValue | Value computeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)(Code) | | Computes the given value.
Parameters: elt - The owner of the value. Parameters: pseudo - The pseudo element. Parameters: engine - The CSSEngine. Parameters: idx - The property index in the engine. Parameters: sm - The computed style map. Parameters: value - The value to compute. |
createFloatValue | Value createFloatValue(short unitType, float floatValue, CSSEngine engine) throws DOMException(Code) | | Creates and returns a new float value.
Parameters: unitType - A unit code as defined above. The unit code can only be a float unit type Parameters: floatValue - The new float value. |
createStringValue | Value createStringValue(short type, String value, CSSEngine engine) throws DOMException(Code) | | Creates and returns a new string value.
Parameters: type - A string code as defined in CSSPrimitiveValue. The stringcode can only be a string unit type. Parameters: value - The new string value. Parameters: base - The base URL. |
createValue | Value createValue(LexicalUnit lu, CSSEngine engine) throws DOMException(Code) | | Creates a value from a lexical unit.
Parameters: lu - The SAC lexical unit used to create the value. Parameters: engine - The calling CSSEngine. |
getDefaultValue | Value getDefaultValue()(Code) | | Returns the default value for the handled property.
|
getPropertyName | String getPropertyName()(Code) | | Returns the name of the property handled.
|
isInheritedProperty | boolean isInheritedProperty()(Code) | | Whether the handled property is inherited or not.
|
|
|