java.lang.Object
org.apache.batik.css.engine.value.AbstractValueFactory
org.apache.batik.css.engine.value.AbstractValueManager
org.apache.batik.css.engine.value.LengthManager
- All Implemented Interfaces:
- ValueManager
- Direct Known Subclasses:
- RectManager, org.apache.batik.css.engine.value.svg.SpacingManager
- public abstract class LengthManager
- extends AbstractValueManager
This class provides a manager for the property with support for
length values.
- Version:
- $Id: LengthManager.java,v 1.6 2004/08/18 07:12:53 vhardy Exp $
|
Method Summary |
Value |
computeValue(org.apache.batik.css.engine.CSSStylableElement elt,
java.lang.String pseudo,
org.apache.batik.css.engine.CSSEngine engine,
int idx,
org.apache.batik.css.engine.StyleMap sm,
Value value)
Implements ValueManager.computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value) 55 . |
Value |
createFloatValue(short type,
float floatValue)
Implements ValueManager.createFloatValue(short,float) 55 . |
Value |
createValue(org.w3c.css.sac.LexicalUnit lu,
org.apache.batik.css.engine.CSSEngine engine)
Implements ValueManager.createValue(LexicalUnit,CSSEngine) 55 . |
protected abstract int |
getOrientation()
Indicates the orientation of the property associated with
this manager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HORIZONTAL_ORIENTATION
protected static final int HORIZONTAL_ORIENTATION
- See Also:
- Constant Field Values
VERTICAL_ORIENTATION
protected static final int VERTICAL_ORIENTATION
- See Also:
- Constant Field Values
BOTH_ORIENTATION
protected static final int BOTH_ORIENTATION
- See Also:
- Constant Field Values
LengthManager
public LengthManager()
createValue
public Value createValue(org.w3c.css.sac.LexicalUnit lu,
org.apache.batik.css.engine.CSSEngine engine)
throws org.w3c.dom.DOMException
- Implements
ValueManager.createValue(LexicalUnit,CSSEngine) 55 .
createFloatValue
public Value createFloatValue(short type,
float floatValue)
throws org.w3c.dom.DOMException
- Implements
ValueManager.createFloatValue(short,float) 55 .
- Specified by:
createFloatValue in interface ValueManager- Overrides:
createFloatValue in class AbstractValueManager
computeValue
public Value computeValue(org.apache.batik.css.engine.CSSStylableElement elt,
java.lang.String pseudo,
org.apache.batik.css.engine.CSSEngine engine,
int idx,
org.apache.batik.css.engine.StyleMap sm,
Value value)
- Implements
ValueManager.computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value) 55 .
- Specified by:
computeValue in interface ValueManager- Overrides:
computeValue in class AbstractValueManager
getOrientation
protected abstract int getOrientation()
- Indicates the orientation of the property associated with
this manager.