SVGItempublic class SVGNumberItem extends AbstractSVGNumber implements SVGItem
| Modifier and Type | Field | Description |
|---|---|---|
protected AbstractSVGList |
parentList |
The
SVGNumberList this item belongs to. |
value| Constructor | Description |
|---|---|
SVGNumberItem(float value) |
Creates a new SVGNumberItem.
|
| Modifier and Type | Method | Description |
|---|---|---|
AbstractSVGList |
getParent() |
Returns the list the item belongs to.
|
java.lang.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 java.lang.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 ? 2018 Apache Software Foundation. All Rights Reserved.