org.apache.batik.dom.svg
Interface SVGAnimationContext

All Superinterfaces:
ElementTimeControl, SVGContext
All Known Implementing Classes:
SVGAnimationElementBridge

public interface SVGAnimationContext
extends SVGContext, ElementTimeControl

Context class for SVG animation elements to support extra methods.


Field Summary
 
Fields inherited from interface org.apache.batik.dom.svg.SVGContext
PERCENTAGE_FONT_SIZE, PERCENTAGE_VIEWPORT_HEIGHT, PERCENTAGE_VIEWPORT_SIZE, PERCENTAGE_VIEWPORT_WIDTH
 
Method Summary
 float getCurrentTime()
          DOM: Implements SVGAnimationElement.getCurrentTime().
 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.
 float getSimpleDuration()
          DOM: Implements SVGAnimationElement.getSimpleDuration().
 float getStartTime()
          DOM: Implements SVGAnimationElement.getStartTime().
 SVGElement getTargetElement()
          DOM: Implements SVGAnimationElement.getTargetElement().
 
Methods inherited from interface org.apache.batik.dom.svg.SVGContext
getBBox, getCTM, getFontSize, getGlobalTransform, getPixelToMM, getPixelUnitToMillimeter, getScreenTransform, getViewportHeight, getViewportWidth, setScreenTransform
 
Methods inherited from interface org.w3c.dom.smil.ElementTimeControl
beginElement, beginElementAt, endElement, endElementAt
 

Method Detail

getTargetElement

public SVGElement getTargetElement()
DOM: Implements SVGAnimationElement.getTargetElement().


getStartTime

public float getStartTime()
DOM: Implements SVGAnimationElement.getStartTime().


getCurrentTime

public float getCurrentTime()
DOM: Implements SVGAnimationElement.getCurrentTime().


getSimpleDuration

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


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.



Copyright © 2009 Apache Software Foundation. All Rights Reserved.