org.apache.batik.dom.svg
Class SVGOMAnimatedLength

java.lang.Object
  |
  +--org.apache.batik.dom.svg.SVGOMAnimatedLength
All Implemented Interfaces:
ModificationHandler, SVGAnimatedLength

public class SVGOMAnimatedLength
extends java.lang.Object
implements SVGAnimatedLength, ModificationHandler

This class implements SVGAnimatedLength.


Field Summary
protected  java.lang.String attributeName
          The associated attribute name.
protected  java.lang.String attributeNsURI
          The asociated attribute namespace URI.
protected  SVGOMLength baseVal
          The baseVal attribute.
protected  DefaultAttributeValueProducer defaultValueProducer
          The default value producer.
protected  SVGOMElement element
          The element this length is attached to.
 
Constructor Summary
SVGOMAnimatedLength(SVGOMElement elt, java.lang.String nsURI, java.lang.String attr, DefaultAttributeValueProducer def)
          Creates a new SVGOMAnimatedLength object.
 
Method Summary
 SVGLength getAnimVal()
          DOM: Implements SVGAnimatedLength.getAnimVal().
 SVGLength getBaseVal()
          DOM: Implements SVGAnimatedLength.getBaseVal().
 java.lang.Object getObject(java.lang.Object key)
          Implements ModificationHandler.getObject(Object).
 void valueChanged(java.lang.Object object, java.lang.String value)
          Implements ModificationHandler.valueChanged(Object,String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

protected SVGOMElement element
The element this length is attached to.

attributeNsURI

protected java.lang.String attributeNsURI
The asociated attribute namespace URI.

attributeName

protected java.lang.String attributeName
The associated attribute name.

defaultValueProducer

protected DefaultAttributeValueProducer defaultValueProducer
The default value producer.

baseVal

protected SVGOMLength baseVal
The baseVal attribute.
Constructor Detail

SVGOMAnimatedLength

public SVGOMAnimatedLength(SVGOMElement elt,
                           java.lang.String nsURI,
                           java.lang.String attr,
                           DefaultAttributeValueProducer def)
Creates a new SVGOMAnimatedLength object.
Parameters:
elt - The owner element.
nsURI - The associated attribute namespace URI.
attr - The associated attribute name.
def - The default value producer.
Method Detail

getBaseVal

public SVGLength getBaseVal()
DOM: Implements SVGAnimatedLength.getBaseVal().
Specified by:
getBaseVal in interface SVGAnimatedLength

getAnimVal

public SVGLength getAnimVal()
DOM: Implements SVGAnimatedLength.getAnimVal().
Specified by:
getAnimVal in interface SVGAnimatedLength

valueChanged

public void valueChanged(java.lang.Object object,
                         java.lang.String value)
Implements ModificationHandler.valueChanged(Object,String).
Specified by:
valueChanged in interface ModificationHandler
Following copied from interface: org.apache.batik.dom.svg.ModificationHandler
Parameters:
object - The modified object.
value - The new value.

getObject

public java.lang.Object getObject(java.lang.Object key)
Implements ModificationHandler.getObject(Object).
Specified by:
getObject in interface ModificationHandler
Following copied from interface: org.apache.batik.dom.svg.ModificationHandler
Parameters:
key - The key to use to retreive the object.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.