Package org.apache.batik.anim.dom
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 org.apache.batik.anim.dom.AbstractSVGAnimatedLength
AbstractSVGAnimatedLength.AnimSVGLength, AbstractSVGAnimatedLength.BaseSVGLength
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The default value if the attribute is not specified.Fields inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedLength
animVal, baseVal, changing, direction, HORIZONTAL_LENGTH, nonNegative, OTHER_LENGTH, VERTICAL_LENGTH
Fields inherited from class org.apache.batik.anim.dom.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 String
Returns the default value to use when the associated attribute was not specified.Methods inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedLength
attrAdded, attrChanged, attrModified, attrRemoved, getAnimVal, getBaseVal, getCheckedValue, getUnderlyingValue, updateAnimatedValue
Methods inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener
-
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:
getDefaultValue
in classAbstractSVGAnimatedLength
- Returns:
- the default value to use when the associated attribute was not specified.
-