public abstract class AbstractSVGItem extends java.lang.Object implements SVGItem
Modifier and Type | Field and Description |
---|---|
protected java.lang.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 java.lang.String |
getStringValue()
Return the string representation of the item.
|
java.lang.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 java.lang.String itemStringValue
protected abstract java.lang.String getStringValue()
public void setParent(AbstractSVGList list)
public AbstractSVGList getParent()
protected void resetAttribute()
public java.lang.String getValueAsString()
getValueAsString
in interface SVGItem
Copyright © 2022 Apache Software Foundation. All Rights Reserved.