org.apache.batik.css.engine.value

Class LengthManager

public abstract class LengthManager extends AbstractValueManager

This class provides a manager for the property with support for length values.
Field Summary
protected static intBOTH_ORIENTATION
protected static intHORIZONTAL_ORIENTATION
protected static intVERTICAL_ORIENTATION
Method Summary
ValuecomputeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
Implements {@link ValueManager#computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value)}.
ValuecreateFloatValue(short type, float floatValue)
Implements {@link ValueManager#createFloatValue(short,float)}.
ValuecreateValue(LexicalUnit lu, CSSEngine engine)
Implements {@link ValueManager#createValue(LexicalUnit,CSSEngine)}.
protected abstract intgetOrientation()
Indicates the orientation of the property associated with this manager.

Field Detail

BOTH_ORIENTATION

protected static final int BOTH_ORIENTATION

HORIZONTAL_ORIENTATION

protected static final int HORIZONTAL_ORIENTATION

VERTICAL_ORIENTATION

protected static final int VERTICAL_ORIENTATION

Method Detail

computeValue

public Value computeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
Implements {@link ValueManager#computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value)}.

createFloatValue

public Value createFloatValue(short type, float floatValue)
Implements {@link ValueManager#createFloatValue(short,float)}.

createValue

public Value createValue(LexicalUnit lu, CSSEngine engine)
Implements {@link ValueManager#createValue(LexicalUnit,CSSEngine)}.

getOrientation

protected abstract int getOrientation()
Indicates the orientation of the property associated with this manager.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.