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_LENGTH
SVG_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, setValueInSpecifiedUnits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueAsString
protected AbstractSVGList parentList
public SVGLengthItem(short type, float value, short direction)
protected SVGOMElement getAssociatedElement()
getAssociatedElement
in class AbstractSVGLength
public void setParent(AbstractSVGList list)
public AbstractSVGList getParent()
protected void reset()
reset
in class AbstractSVGLength
Copyright © 2022 Apache Software Foundation. All Rights Reserved.