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.
|
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, setValue
protected AbstractSVGList parentList
SVGNumberList
this item belongs to.public java.lang.String getValueAsString()
getValueAsString
in interface SVGItem
public void setParent(AbstractSVGList list)
SVGNumberList
.public AbstractSVGList getParent()
protected void reset()
SVGNumberList
that this item's value
has changed.Copyright © 2022 Apache Software Foundation. All Rights Reserved.