uk.org.toot.misc
Class Tempo

java.lang.Object
  extended by uk.org.toot.misc.Tempo

public class Tempo
extends java.lang.Object

This class knows the tempo. It is needed in case there isn't something like a sequencer that has tempo so that the user can set the tempo. If there is something like a sequencer that has tempo it should set its tempo using this class.

Author:
st

Method Summary
static void addTempoListener(TempoListener listener)
           
static float getTempo()
           
static void removeTempoListener(TempoListener listener)
           
static void setTempo(float newTempo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTempo

public static float getTempo()

setTempo

public static void setTempo(float newTempo)

addTempoListener

public static void addTempoListener(TempoListener listener)

removeTempoListener

public static void removeTempoListener(TempoListener listener)


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.