Package org.apache.batik.anim.dom
Class AbstractSVGAnimatedLength.BaseSVGLength
- java.lang.Object
-
- org.apache.batik.anim.dom.AbstractSVGLength
-
- org.apache.batik.anim.dom.AbstractSVGAnimatedLength.BaseSVGLength
-
- All Implemented Interfaces:
org.w3c.dom.svg.SVGLength
- Enclosing class:
- AbstractSVGAnimatedLength
protected class AbstractSVGAnimatedLength.BaseSVGLength extends AbstractSVGLength
This class represents the SVGLength returned byAbstractSVGAnimatedLength.getBaseVal()
.
-
-
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 boolean
missing
Whether the attribute is missing.protected boolean
valid
Whether this length is valid.-
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 BaseSVGLength(short direction)
Creates a new BaseSVGLength.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SVGOMElement
getAssociatedElement()
Returns the element this length is associated with.void
invalidate()
Invalidates this length.protected void
reset()
Resets the value of the associated attribute.protected void
revalidate()
Initializes the length, if needed.-
Methods inherited from class org.apache.batik.anim.dom.AbstractSVGLength
convertToSpecifiedUnits, getUnitType, getValue, getValueAsString, getValueInSpecifiedUnits, newValueSpecifiedUnits, parse, setValue, setValueAsString, setValueInSpecifiedUnits
-
-
-
-
Method Detail
-
invalidate
public void invalidate()
Invalidates this length.
-
reset
protected void reset()
Resets the value of the associated attribute.- Overrides:
reset
in classAbstractSVGLength
-
revalidate
protected void revalidate()
Initializes the length, if needed.- Overrides:
revalidate
in classAbstractSVGLength
-
getAssociatedElement
protected SVGOMElement getAssociatedElement()
Returns the element this length is associated with.- Specified by:
getAssociatedElement
in classAbstractSVGLength
-
-