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 the SVGAnimatedLength interface.
- Version:
- $Id: SVGOMAnimatedLength.java 1733416 2016-03-03 07:07:13Z gadams $
- Author:
- Stephane Hillion
|
Field Summary |
protected String |
defaultValue
The default value if the attribute is not specified. |
|
Method Summary |
protected String |
getDefaultValue()
Returns the default value to use when the associated attribute
was not specified. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultValue
protected String defaultValue
- The default value if the attribute is not specified.
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.
getDefaultValue
protected String getDefaultValue()
- Returns the default value to use when the associated attribute
was not specified.
- Specified by:
getDefaultValue in class AbstractSVGAnimatedLength
- Returns:
- the default value to use when the associated attribute
was not specified.
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.