org.apache.batik.dom.svg

Class AbstractSVGLengthList.SVGLengthItem

protected class AbstractSVGLengthList.SVGLengthItem extends AbstractSVGLength implements SVGItem

An SVGLength in the list.
Field Summary
protected AbstractSVGListparentList
List the item belongs to.
Constructor Summary
SVGLengthItem(short type, float value, short direction)
Creates a new SVGLengthItem.
Method Summary
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.

Field Detail

parentList

protected AbstractSVGList parentList
List the item belongs to.

Constructor Detail

SVGLengthItem

public SVGLengthItem(short type, float value, short direction)
Creates a new SVGLengthItem.

Method Detail

getAssociatedElement

protected SVGOMElement getAssociatedElement()
Returns the element this length is associated with.

getParent

public AbstractSVGList getParent()
Returns the parent list of this item.

reset

protected void reset()
Notifies the parent list that this item has changed.

setParent

public void setParent(AbstractSVGList list)
Assigns a parent list to this item.

Parameters: list The list the item belongs.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.