protected class AbstractSVGLengthList.SVGLengthItem extends AbstractSVGLength implements SVGItem
SVGLength in the list.AbstractSVGLength.DefaultContext| Modifier and Type | Field and Description |
|---|---|
protected AbstractSVGList |
parentList
List the item belongs to.
|
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTHSVG_LENGTHTYPE_CM, SVG_LENGTHTYPE_EMS, SVG_LENGTHTYPE_EXS, SVG_LENGTHTYPE_IN, SVG_LENGTHTYPE_MM, SVG_LENGTHTYPE_NUMBER, SVG_LENGTHTYPE_PC, SVG_LENGTHTYPE_PERCENTAGE, SVG_LENGTHTYPE_PT, SVG_LENGTHTYPE_PX, SVG_LENGTHTYPE_UNKNOWN| Constructor and Description |
|---|
SVGLengthItem(short type,
float value,
short direction)
Creates a new SVGLengthItem.
|
| Modifier and Type | Method and 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 © 2000–2020 Apache Software Foundation. All rights reserved.