org.apache.batik.dom.svg
Class SVGOMAnimatedPreserveAspectRatio

java.lang.Object
  extended byorg.apache.batik.dom.svg.SVGOMAnimatedPreserveAspectRatio
All Implemented Interfaces:
LiveAttributeValue, SVGAnimatedPreserveAspectRatio

public class SVGOMAnimatedPreserveAspectRatio
extends Object
implements SVGAnimatedPreserveAspectRatio, LiveAttributeValue

This class implements the SVGAnimatedPreserveAspectRatio interface.


Nested Class Summary
 class SVGOMAnimatedPreserveAspectRatio.SVGOMPreserveAspectRatio
          The implementation of SVGPreserveAspectRatio
 
Field Summary
protected  boolean changing
          Whether the value is changing.
protected  AbstractElement element
          The associated element.
protected  AbstractSVGPreserveAspectRatio preserveAspectRatio
          SVGPreserveAspectRatio mapping the static 'preserveAspectRatio' attribute.
 
Constructor Summary
SVGOMAnimatedPreserveAspectRatio(AbstractElement elt)
          Creates a new instance of SVGOMAnimatePreserveAspectRatio
 
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.
 SVGPreserveAspectRatio getAnimVal()
           
 SVGPreserveAspectRatio getBaseVal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

protected AbstractElement element
The associated element.


changing

protected boolean changing
Whether the value is changing.


preserveAspectRatio

protected AbstractSVGPreserveAspectRatio preserveAspectRatio
SVGPreserveAspectRatio mapping the static 'preserveAspectRatio' attribute.

Constructor Detail

SVGOMAnimatedPreserveAspectRatio

public SVGOMAnimatedPreserveAspectRatio(AbstractElement elt)
Creates a new instance of SVGOMAnimatePreserveAspectRatio

Method Detail

attrAdded

public void attrAdded(Attr node,
                      String newv)
Description copied from interface: LiveAttributeValue
Called when an Attr node has been added.

Specified by:
attrAdded in interface LiveAttributeValue

attrModified

public void attrModified(Attr node,
                         String oldv,
                         String newv)
Description copied from interface: LiveAttributeValue
Called when an Attr node has been modified.

Specified by:
attrModified in interface LiveAttributeValue

attrRemoved

public void attrRemoved(Attr node,
                        String oldv)
Description copied from interface: LiveAttributeValue
Called when an Attr node has been removed.

Specified by:
attrRemoved in interface LiveAttributeValue

getAnimVal

public SVGPreserveAspectRatio getAnimVal()
Specified by:
getAnimVal in interface SVGAnimatedPreserveAspectRatio

getBaseVal

public SVGPreserveAspectRatio getBaseVal()
Specified by:
getBaseVal in interface SVGAnimatedPreserveAspectRatio


Copyright ? 2005 Apache Software Foundation. All Rights Reserved.