public abstract class AbstractSVGItem extends Object implements SVGItem
Modifier and Type | Field and Description |
---|---|
protected String |
itemStringValue
String representation of the item.
|
protected AbstractSVGList |
parent
List the item belongs to.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractSVGItem()
Creates a new AbstractSVGList.
|
Modifier and Type | Method and Description |
---|---|
AbstractSVGList |
getParent()
Returns the parent list of this item.
|
protected abstract String |
getStringValue()
Return the string representation of the item.
|
String |
getValueAsString()
Returns the cached representation of the item if valid, otherwise
recomputes the String representation of the item.
|
protected void |
resetAttribute()
Notifies the parent list that the item has changed.
|
void |
setParent(AbstractSVGList list)
Assigns a parent list to this item.
|
protected AbstractSVGList parent
protected String itemStringValue
protected abstract String getStringValue()
public void setParent(AbstractSVGList list)
public AbstractSVGList getParent()
protected void resetAttribute()
public String getValueAsString()
getValueAsString
in interface SVGItem
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.