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
public class SVGOMLength extends AbstractSVGLength
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.- Version:
- $Id: SVGOMLength.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
SVGSVGElement.createSVGLength()
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batik.anim.dom.AbstractSVGLength
AbstractSVGLength.DefaultContext
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractElement
element
Element associated to this length.-
Fields inherited from class org.apache.batik.anim.dom.AbstractSVGLength
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTH
-
-
Constructor Summary
Constructors Constructor Description SVGOMLength(AbstractElement elt)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SVGOMElement
getAssociatedElement()
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 Detail
-
element
protected AbstractElement element
Element associated to this length.
-
-
Constructor Detail
-
SVGOMLength
public SVGOMLength(AbstractElement elt)
Default constructor. The direction of this length is undefined and this length is not associated to any attribute.
-
-
Method Detail
-
getAssociatedElement
protected SVGOMElement getAssociatedElement()
Description copied from class:AbstractSVGLength
Return the SVGElement associated to this length.- Specified by:
getAssociatedElement
in classAbstractSVGLength
-
-