org.apache.batik.dom.svg
Class AbstractSVGLengthList.SVGLengthItem
java.lang.Object
org.apache.batik.dom.svg.AbstractSVGLength
org.apache.batik.dom.svg.AbstractSVGLengthList.SVGLengthItem
- All Implemented Interfaces:
- SVGItem
- Enclosing class:
- AbstractSVGLengthList
protected class AbstractSVGLengthList.SVGLengthItem
- extends AbstractSVGLength
- implements SVGItem
An SVGLength
in the list.
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGLength |
convertToSpecifiedUnits, getUnitType, getValue, getValueAsString, getValueInSpecifiedUnits, newValueSpecifiedUnits, parse, revalidate, setValue, setValueAsString, setValueInSpecifiedUnits |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parentList
protected AbstractSVGList parentList
- List the item belongs to.
AbstractSVGLengthList.SVGLengthItem
public AbstractSVGLengthList.SVGLengthItem(short type,
float value,
short direction)
- Creates a new SVGLengthItem.
getAssociatedElement
protected SVGOMElement getAssociatedElement()
- Returns the element this length is associated with.
- Specified by:
getAssociatedElement
in class AbstractSVGLength
setParent
public void setParent(AbstractSVGList list)
- Assigns a parent list to this item.
- Specified by:
setParent
in interface SVGItem
- Parameters:
list
- The list the item belongs.
getParent
public AbstractSVGList getParent()
- Returns the parent list of this item.
- Specified by:
getParent
in interface SVGItem
- Returns:
- list the item belongs to. This
could be if the item belongs to no list.
reset
protected void reset()
- Notifies the parent list that this item has changed.
- Overrides:
reset
in class AbstractSVGLength
Copyright ? 2008 Apache Software Foundation. All Rights Reserved.