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 {@link 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 {@link SVGNumberList} that this item's value has changed.
voidsetParent(AbstractSVGList list)
Associates this item to the given {@link SVGNumberList}.

Field Detail

parentList

protected AbstractSVGList parentList
The {@link 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 {@link SVGNumberList} that this item's value has changed.

setParent

public void setParent(AbstractSVGList list)
Associates this item to the given {@link SVGNumberList}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.