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 booleanmissingWhether the attribute is missing.protected booleanvalidWhether 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 SVGOMElementgetAssociatedElement()Returns the element this length is associated with.voidinvalidate()Invalidates this length.protected voidreset()Resets the value of the associated attribute.protected voidrevalidate()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:
resetin classAbstractSVGLength
-
revalidate
protected void revalidate()
Initializes the length, if needed.- Overrides:
revalidatein classAbstractSVGLength
-
getAssociatedElement
protected SVGOMElement getAssociatedElement()
Returns the element this length is associated with.- Specified by:
getAssociatedElementin classAbstractSVGLength
-
-