public class SVGNumberItem extends AbstractSVGNumber implements SVGItem
| Modifier and Type | Field and Description |
|---|---|
protected AbstractSVGList |
parentList
The
SVGNumberList this item belongs to. |
value| Constructor and Description |
|---|
SVGNumberItem(float value)
Creates a new SVGNumberItem.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractSVGList |
getParent()
Returns the list the item belongs to.
|
String |
getValueAsString()
Returns a String representation of the number.
|
protected void |
reset()
Notifies the parent
SVGNumberList that this item's value
has changed. |
void |
setParent(AbstractSVGList list)
Associates this item to the given
SVGNumberList. |
getValue, setValueprotected AbstractSVGList parentList
SVGNumberList this item belongs to.public String getValueAsString()
getValueAsString in interface SVGItempublic void setParent(AbstractSVGList list)
SVGNumberList.public AbstractSVGList getParent()
protected void reset()
SVGNumberList that this item's value
has changed.Copyright © 2000–2021 Apache Software Foundation. All rights reserved.