Class SVGOMAnimatedLength
java.lang.Object
org.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.AbstractSVGAnimatedLength
org.apache.batik.anim.dom.SVGOMAnimatedLength
- All Implemented Interfaces:
AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedLength
This class provides an implementation of the
SVGAnimatedLength interface.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractSVGAnimatedLength
AbstractSVGAnimatedLength.AnimSVGLength, AbstractSVGAnimatedLength.BaseSVGLength -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe default value if the attribute is not specified.Fields inherited from class AbstractSVGAnimatedLength
animVal, baseVal, changing, direction, HORIZONTAL_LENGTH, nonNegative, OTHER_LENGTH, VERTICAL_LENGTHFields inherited from class AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI -
Constructor Summary
ConstructorsConstructorDescriptionSVGOMAnimatedLength(AbstractElement elt, String ns, String ln, String def, short dir, boolean nonneg) Creates a new SVGOMAnimatedLength. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the default value to use when the associated attribute was not specified.Methods inherited from class AbstractSVGAnimatedLength
attrAdded, attrChanged, attrModified, attrRemoved, getAnimVal, getBaseVal, getCheckedValue, getUnderlyingValue, updateAnimatedValue
-
Field Details
-
defaultValue
The default value if the attribute is not specified.
-
-
Constructor Details
-
SVGOMAnimatedLength
public SVGOMAnimatedLength(AbstractElement elt, String ns, String ln, String def, short dir, boolean nonneg) Creates a new SVGOMAnimatedLength.- Parameters:
elt- The associated element.ns- The attribute's namespace URI.ln- The attribute's local name.def- The default value if the attribute is not specified.dir- The length's direction.nonneg- Whether the length must be non-negative.
-
-
Method Details
-
getDefaultValue
Returns the default value to use when the associated attribute was not specified.- Specified by:
getDefaultValuein classAbstractSVGAnimatedLength- Returns:
- the default value to use when the associated attribute was not specified.
-