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().
floatgetHyperlinkBeginTime()
Returns the time that the document would seek to if this animation element were hyperlinked to, or NaN if there is no such begin time.
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().

getHyperlinkBeginTime

public float getHyperlinkBeginTime()
Returns the time that the document would seek to if this animation element were hyperlinked to, or NaN if there is no such begin time.

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) 2008 Apache Software Foundation. All Rights Reserved.