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 AbstractSVGLength
AbstractSVGLength.DefaultContext -
Field Summary
FieldsFields inherited from class AbstractSVGLength
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTHFields 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 SVGOMElementReturns the element this length is associated with.Returns the parent list of this item.protected voidreset()Notifies the parent list that this item has changed.voidsetParent(AbstractSVGList list) Assigns a parent list to this item.Methods inherited from class AbstractSVGLength
convertToSpecifiedUnits, getUnitType, getValue, getValueAsString, getValueInSpecifiedUnits, newValueSpecifiedUnits, parse, revalidate, setValue, setValueAsString, setValueInSpecifiedUnitsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
getAssociatedElementin 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:
resetin classAbstractSVGLength
-