uk.org.toot.misc
Class TimeSignature

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

public class TimeSignature
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 addTimeSignatureListener(TimeSignatureListener listener)
           
static int getDenominator()
           
static int getNumerator()
           
static void removeTimeSignatureListener(TimeSignatureListener listener)
           
static void setTimeSignature(int aNumerator, int aDenominator)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNumerator

public static int getNumerator()

getDenominator

public static int getDenominator()

setTimeSignature

public static void setTimeSignature(int aNumerator,
                                    int aDenominator)

addTimeSignatureListener

public static void addTimeSignatureListener(TimeSignatureListener listener)

removeTimeSignatureListener

public static void removeTimeSignatureListener(TimeSignatureListener listener)


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