com.kitfox.svg.animation
Class TrackManager

java.lang.Object
  extended by com.kitfox.svg.animation.TrackManager

public class TrackManager
extends java.lang.Object

Every element contains tracks, which manage the animation. There is one track for every parameter with animation, and each track in turn is composed of many events.

Author:
Mark McKay, Mark McKay

Constructor Summary
TrackManager()
          Creates a new instance of TrackManager
 
Method Summary
 void addTrackElement(AnimationElement element)
          Adds a new animation element to this track
 int getNumTracks()
           
 TrackBase getTrack(java.lang.String name, int type)
           
 java.util.Iterator iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackManager

public TrackManager()
Creates a new instance of TrackManager

Method Detail

addTrackElement

public void addTrackElement(AnimationElement element)
                     throws SVGElementException
Adds a new animation element to this track

Throws:
SVGElementException

getTrack

public TrackBase getTrack(java.lang.String name,
                          int type)

getNumTracks

public int getNumTracks()

iterator

public java.util.Iterator iterator()