org.apache.batik.dom.svg

Class AbstractSVGNumberList.SVGNumberItem

protected class AbstractSVGNumberList.SVGNumberItem extends AbstractSVGNumber implements SVGItem

Representation of the item SVGNumber.
Field Summary
protected AbstractSVGListparentList
The SVGNumberList this item belongs to.
Constructor Summary
SVGNumberItem(float value)
Creates a new SVGNumberItem.
Method Summary
AbstractSVGListgetParent()
Returns the list the item belongs to.
StringgetValueAsString()
Returns a String representation of the number.
protected voidreset()
Notifies the parent SVGNumberList that this item's value has changed.
voidsetParent(AbstractSVGList list)
Associates this item to the given SVGNumberList.

Field Detail

parentList

protected AbstractSVGList parentList
The SVGNumberList this item belongs to.

Constructor Detail

SVGNumberItem

public SVGNumberItem(float value)
Creates a new SVGNumberItem.

Method Detail

getParent

public AbstractSVGList getParent()
Returns the list the item belongs to.

getValueAsString

public String getValueAsString()
Returns a String representation of the number.

reset

protected void reset()
Notifies the parent SVGNumberList that this item's value has changed.

setParent

public void setParent(AbstractSVGList list)
Associates this item to the given SVGNumberList.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.