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 {@link org.w3c.dom.svg.SVGAnimationElement#getCurrentTime()}.
floatgetSimpleDuration()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimationElement#getSimpleDuration()}.
floatgetStartTime()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimationElement#getStartTime()}.
SVGElementgetTargetElement()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimationElement#getTargetElement()}.

Method Detail

getCurrentTime

public float getCurrentTime()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimationElement#getCurrentTime()}.

getSimpleDuration

public float getSimpleDuration()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimationElement#getSimpleDuration()}. With the difference that an indefinite simple duration is returned as {@link org.apache.batik.anim.timing.TimedElement#INDEFINITE}, rather than throwing an exception.

getStartTime

public float getStartTime()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimationElement#getStartTime()}.

getTargetElement

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