public static class Tempo.AbstractListener extends Object implements Tempo.Listener
Tempo.Listener
that does a no-op for all types beats.
Extend this to avoid boilerplate for beat types you don't care about.Constructor and Description |
---|
AbstractListener() |
Modifier and Type | Method and Description |
---|---|
void |
onBeat(Tempo tempo,
int beat) |
void |
onMeasure(Tempo tempo) |
public void onBeat(Tempo tempo, int beat)
onBeat
in interface Tempo.Listener
public void onMeasure(Tempo tempo)
onMeasure
in interface Tempo.Listener
LX library by Mark C. Slee. © 2012-2020