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
public class SVGOMAnimatedLength extends AbstractSVGAnimatedLength
This class provides an implementation of theSVGAnimatedLength
interface.- Version:
- $Id: SVGOMAnimatedLength.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedLength
AbstractSVGAnimatedLength.AnimSVGLength, AbstractSVGAnimatedLength.BaseSVGLength
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
defaultValue
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
Constructors Constructor Description SVGOMAnimatedLength(AbstractElement elt, java.lang.String ns, java.lang.String ln, java.lang.String def, short dir, boolean nonneg)
Creates a new SVGOMAnimatedLength.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getDefaultValue()
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
-
-
-
-
Constructor Detail
-
SVGOMAnimatedLength
public SVGOMAnimatedLength(AbstractElement elt, java.lang.String ns, java.lang.String ln, java.lang.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 Detail
-
getDefaultValue
protected java.lang.String 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.
-
-