org.apache.batik.dom.svg
Class SVGOMAnimatedTransformList

java.lang.Object
  extended by org.apache.batik.dom.svg.AbstractSVGAnimatedValue
      extended by org.apache.batik.dom.svg.SVGOMAnimatedTransformList
All Implemented Interfaces:
AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedTransformList

public class SVGOMAnimatedTransformList
extends AbstractSVGAnimatedValue
implements org.w3c.dom.svg.SVGAnimatedTransformList

This class is the implementation of the SVGAnimatedTransformList interface.


Nested Class Summary
protected  class SVGOMAnimatedTransformList.AnimSVGTransformList
          SVGTransformList implementation for the animated transform list value.
 class SVGOMAnimatedTransformList.BaseSVGTransformList
          SVGTransformList implementation for the base transform list value.
 
Field Summary
protected  SVGOMAnimatedTransformList.AnimSVGTransformList animVal
          The animated value.
protected  SVGOMAnimatedTransformList.BaseSVGTransformList baseVal
          The base value.
protected  boolean changing
          Whether the list is changing.
protected  String defaultValue
          Default value for the 'transform' attribute.
 
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI
 
Constructor Summary
SVGOMAnimatedTransformList(AbstractElement elt, String ns, String ln, String defaultValue)
          Creates a new SVGOMAnimatedTransformList.
 
Method Summary
 void attrAdded(Attr node, String newv)
          Called when an Attr node has been added.
 void attrModified(Attr node, String oldv, String newv)
          Called when an Attr node has been modified.
 void attrRemoved(Attr node, String oldv)
          Called when an Attr node has been removed.
 void check()
          Throws an exception if the points list value is malformed.
 org.w3c.dom.svg.SVGTransformList getAnimVal()
          DOM: Implements SVGAnimatedTransformList.getAnimVal().
 org.w3c.dom.svg.SVGTransformList getBaseVal()
          DOM: Implements SVGAnimatedTransformList.getBaseVal().
 AnimatableValue getUnderlyingValue(AnimationTarget target)
          Returns the base value of the attribute as an AnimatableValue.
protected  void updateAnimatedValue(AnimatableValue val)
          Updates the animated value with the given AnimatableValue.
 
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGAnimatedValue
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseVal

protected SVGOMAnimatedTransformList.BaseSVGTransformList baseVal
The base value.


animVal

protected SVGOMAnimatedTransformList.AnimSVGTransformList animVal
The animated value.


changing

protected boolean changing
Whether the list is changing.


defaultValue

protected String defaultValue
Default value for the 'transform' attribute.

Constructor Detail

SVGOMAnimatedTransformList

public SVGOMAnimatedTransformList(AbstractElement elt,
                                  String ns,
                                  String ln,
                                  String defaultValue)
Creates a new SVGOMAnimatedTransformList.

Parameters:
elt - The associated element.
ns - The attribute's namespace URI.
ln - The attribute's local name.
defaultValue - The default value if the attribute is not specified.
Method Detail

getBaseVal

public org.w3c.dom.svg.SVGTransformList getBaseVal()
DOM: Implements SVGAnimatedTransformList.getBaseVal().

Specified by:
getBaseVal in interface org.w3c.dom.svg.SVGAnimatedTransformList

getAnimVal

public org.w3c.dom.svg.SVGTransformList getAnimVal()
DOM: Implements SVGAnimatedTransformList.getAnimVal().

Specified by:
getAnimVal in interface org.w3c.dom.svg.SVGAnimatedTransformList

check

public void check()
Throws an exception if the points list value is malformed.


getUnderlyingValue

public AnimatableValue getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an AnimatableValue.

Specified by:
getUnderlyingValue in interface AnimatedLiveAttributeValue

updateAnimatedValue

protected void updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given AnimatableValue.

Specified by:
updateAnimatedValue in class AbstractSVGAnimatedValue

attrAdded

public void attrAdded(Attr node,
                      String newv)
Called when an Attr node has been added.

Specified by:
attrAdded in interface LiveAttributeValue

attrModified

public void attrModified(Attr node,
                         String oldv,
                         String newv)
Called when an Attr node has been modified.

Specified by:
attrModified in interface LiveAttributeValue

attrRemoved

public void attrRemoved(Attr node,
                        String oldv)
Called when an Attr node has been removed.

Specified by:
attrRemoved in interface LiveAttributeValue


Copyright © 2008 Apache Software Foundation. All Rights Reserved.