dguitar.players.gui
Class MusicCursorScroller

java.lang.Object
  extended bydguitar.players.gui.MusicCursorScroller
All Implemented Interfaces:
PerformanceTimerListener

public class MusicCursorScroller
extends java.lang.Object
implements PerformanceTimerListener

Author:
Mauricio Gracia Gutierrez

Nested Class Summary
(package private)  class MusicCursorScroller.RunLater
           
 
Field Summary
private  int measurePrev
           
private  boolean scroll
           
private  TrackPanel TP
           
 
Constructor Summary
MusicCursorScroller(TrackPanel aTrackPanel, boolean scrollTrack)
           
 
Method Summary
 void onTimer(PerformanceTimerEvent timerEvent)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TP

private TrackPanel TP

measurePrev

private int measurePrev

scroll

private boolean scroll
Constructor Detail

MusicCursorScroller

public MusicCursorScroller(TrackPanel aTrackPanel,
                           boolean scrollTrack)
Parameters:
aTrackPanel - is the TrackPanel that has the musicCursor to move
scrollTrack - should the Track be scroll to see the new position ?
Method Detail

onTimer

public void onTimer(PerformanceTimerEvent timerEvent)
Specified by:
onTimer in interface PerformanceTimerListener

run

public void run()