org.apache.batik.dom.svg

Interface SVGAnimationContext

public interface SVGAnimationContext extends SVGContext, ElementTimeControl

Context class for SVG animation elements to support extra methods.
Method Summary
floatgetCurrentTime()
DOM: Implements org.w3c.dom.svg.SVGAnimationElement#getCurrentTime().
floatgetSimpleDuration()
DOM: Implements org.w3c.dom.svg.SVGAnimationElement#getSimpleDuration().
floatgetStartTime()
DOM: Implements org.w3c.dom.svg.SVGAnimationElement#getStartTime().
SVGElementgetTargetElement()
DOM: Implements org.w3c.dom.svg.SVGAnimationElement#getTargetElement().

Method Detail

getCurrentTime

public float getCurrentTime()
DOM: Implements org.w3c.dom.svg.SVGAnimationElement#getCurrentTime().

getSimpleDuration

public float getSimpleDuration()
DOM: Implements org.w3c.dom.svg.SVGAnimationElement#getSimpleDuration(). With the difference that an indefinite simple duration is returned as INDEFINITE, rather than throwing an exception.

getStartTime

public float getStartTime()
DOM: Implements org.w3c.dom.svg.SVGAnimationElement#getStartTime().

getTargetElement

public SVGElement getTargetElement()
DOM: Implements org.w3c.dom.svg.SVGAnimationElement#getTargetElement().
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.