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 ValueManager.
ValuecreateFloatValue(short type, float floatValue)
Implements ValueManager.
ValuecreateValue(LexicalUnit lu, CSSEngine engine)
Implements createValue.
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 ValueManager.

createFloatValue

public Value createFloatValue(short type, float floatValue)
Implements ValueManager.

createValue

public Value createValue(LexicalUnit lu, CSSEngine engine)
Implements createValue.

getOrientation

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