at.ofai.music.beatroot

Class PanelScroller

class PanelScroller extends Object implements AdjustmentListener

A listener class for the scrollbar, which notifies the GUI's main panel when the scrollbar is moved.
Field Summary
BeatTrackDisplaycontrolled
A reference to the main data panel of the BeatRoot GUI, so that it can be updated when the scroller is moved.
static booleanpassMessage
Constructor Summary
PanelScroller(BeatTrackDisplay btd)
Constructor:
Method Summary
voidadjustmentValueChanged(AdjustmentEvent e)
Called by the event handling system when the scroller is moved.

Field Detail

controlled

BeatTrackDisplay controlled
A reference to the main data panel of the BeatRoot GUI, so that it can be updated when the scroller is moved.

passMessage

static boolean passMessage

Constructor Detail

PanelScroller

public PanelScroller(BeatTrackDisplay btd)
Constructor:

Parameters: btd A reference to the main data panel of the BeatRoot GUI

Method Detail

adjustmentValueChanged

public void adjustmentValueChanged(AdjustmentEvent e)
Called by the event handling system when the scroller is moved. Implements the AdjustmentListener interface.

Parameters: e The event indicating the change in the scroller position