SVGItemprotected class AbstractSVGLengthList.SVGLengthItem extends AbstractSVGLength implements SVGItem
SVGLength in the list.AbstractSVGLength.DefaultContext| Modifier and Type | Field | Description |
|---|---|---|
protected AbstractSVGList |
parentList |
List the item belongs to.
|
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTH| Constructor | Description |
|---|---|
SVGLengthItem(short type,
float value,
short direction) |
Creates a new SVGLengthItem.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected SVGOMElement |
getAssociatedElement() |
Returns the element this length is associated with.
|
AbstractSVGList |
getParent() |
Returns the parent list of this item.
|
protected void |
reset() |
Notifies the parent list that this item has changed.
|
void |
setParent(AbstractSVGList list) |
Assigns a parent list to this item.
|
convertToSpecifiedUnits, getUnitType, getValue, getValueAsString, getValueInSpecifiedUnits, newValueSpecifiedUnits, parse, revalidate, setValue, setValueAsString, setValueInSpecifiedUnitsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueAsStringprotected AbstractSVGList parentList
public SVGLengthItem(short type,
float value,
short direction)
protected SVGOMElement getAssociatedElement()
getAssociatedElement in class AbstractSVGLengthpublic void setParent(AbstractSVGList list)
public AbstractSVGList getParent()
protected void reset()
reset in class AbstractSVGLengthCopyright ? 2018 Apache Software Foundation. All Rights Reserved.