Package org.apache.batik.anim.dom
Class AbstractSVGLengthList.SVGLengthItem
- java.lang.Object
-
- org.apache.batik.anim.dom.AbstractSVGLength
-
- org.apache.batik.anim.dom.AbstractSVGLengthList.SVGLengthItem
-
- All Implemented Interfaces:
SVGItem,org.w3c.dom.svg.SVGLength
- Enclosing class:
- AbstractSVGLengthList
protected class AbstractSVGLengthList.SVGLengthItem extends AbstractSVGLength implements SVGItem
AnSVGLengthin the list.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batik.anim.dom.AbstractSVGLength
AbstractSVGLength.DefaultContext
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractSVGListparentListList the item belongs to.-
Fields inherited from class org.apache.batik.anim.dom.AbstractSVGLength
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTH
-
-
Constructor Summary
Constructors Constructor Description SVGLengthItem(short type, float value, short direction)Creates a new SVGLengthItem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SVGOMElementgetAssociatedElement()Returns the element this length is associated with.AbstractSVGListgetParent()Returns the parent list of this item.protected voidreset()Notifies the parent list that this item has changed.voidsetParent(AbstractSVGList list)Assigns a parent list to this item.-
Methods inherited from class org.apache.batik.anim.dom.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
-
Methods inherited from interface org.apache.batik.dom.svg.SVGItem
getValueAsString
-
-
-
-
Field Detail
-
parentList
protected AbstractSVGList parentList
List the item belongs to.
-
-
Method Detail
-
getAssociatedElement
protected SVGOMElement getAssociatedElement()
Returns the element this length is associated with.- Specified by:
getAssociatedElementin classAbstractSVGLength
-
setParent
public void setParent(AbstractSVGList list)
Assigns a parent list to this item.
-
getParent
public AbstractSVGList getParent()
Returns the parent list of this item.
-
reset
protected void reset()
Notifies the parent list that this item has changed.- Overrides:
resetin classAbstractSVGLength
-
-