Package org.apache.batik.anim.dom
Class AbstractSVGLengthList.SVGLengthItem
java.lang.Object
org.apache.batik.anim.dom.AbstractSVGLength
org.apache.batik.anim.dom.AbstractSVGLengthList.SVGLengthItem
- All Implemented Interfaces:
SVGItem
,org.w3c.dom.svg.SVGLength
- Enclosing class:
AbstractSVGLengthList
An
SVGLength
in the list.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.batik.anim.dom.AbstractSVGLength
AbstractSVGLength.DefaultContext
-
Field Summary
FieldsFields inherited from class org.apache.batik.anim.dom.AbstractSVGLength
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTH
Fields inherited from interface org.w3c.dom.svg.SVGLength
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 Summary
ConstructorsConstructorDescriptionSVGLengthItem
(short type, float value, short direction) Creates a new SVGLengthItem. -
Method Summary
Modifier and TypeMethodDescriptionprotected SVGOMElement
Returns the element this length is associated with.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.Methods inherited from class org.apache.batik.anim.dom.AbstractSVGLength
convertToSpecifiedUnits, getUnitType, getValue, getValueAsString, getValueInSpecifiedUnits, newValueSpecifiedUnits, parse, revalidate, setValue, setValueAsString, setValueInSpecifiedUnits
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.batik.dom.svg.SVGItem
getValueAsString
-
Field Details
-
parentList
List the item belongs to.
-
-
Constructor Details
-
SVGLengthItem
public SVGLengthItem(short type, float value, short direction) Creates a new SVGLengthItem.
-
-
Method Details
-
getAssociatedElement
Returns the element this length is associated with.- Specified by:
getAssociatedElement
in classAbstractSVGLength
-
setParent
Assigns a parent list to this item. -
getParent
Returns the parent list of this item. -
reset
protected void reset()Notifies the parent list that this item has changed.- Overrides:
reset
in classAbstractSVGLength
-