Package org.apache.batik.anim.dom
Class SVGOMLength
java.lang.Object
org.apache.batik.anim.dom.AbstractSVGLength
org.apache.batik.anim.dom.SVGOMLength
- All Implemented Interfaces:
org.w3c.dom.svg.SVGLength
Default implementation of SVGLength.
This implementation is not linked to any
attribute in the Document. It is used
by the root element to return a default SVGLength.
- See Also:
-
SVGSVGElement.createSVGLength()
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SVGOMElement
Return the SVGElement associated to this length.Methods inherited from class org.apache.batik.anim.dom.AbstractSVGLength
convertToSpecifiedUnits, getUnitType, getValue, getValueAsString, getValueInSpecifiedUnits, newValueSpecifiedUnits, parse, reset, revalidate, setValue, setValueAsString, setValueInSpecifiedUnits
-
Field Details
-
element
Element associated to this length.
-
-
Constructor Details
-
SVGOMLength
Default constructor. The direction of this length is undefined and this length is not associated to any attribute.
-
-
Method Details
-
getAssociatedElement
Description copied from class:AbstractSVGLength
Return the SVGElement associated to this length.- Specified by:
getAssociatedElement
in classAbstractSVGLength
-