noiseMonitor
Class NoiseTabPanel.TimeRangeListener

java.lang.Object
  extended by noiseMonitor.NoiseTabPanel.TimeRangeListener
All Implemented Interfaces:
PamScrollObserver, RangeSpinnerListener
Enclosing class:
NoiseTabPanel

private class NoiseTabPanel.TimeRangeListener
extends java.lang.Object
implements RangeSpinnerListener, PamScrollObserver


Constructor Summary
private NoiseTabPanel.TimeRangeListener()
           
 
Method Summary
 void scrollRangeChanged(AbstractPamScroller pamScroller)
          Notification sent when a scroller or slider changes it's data range
 void scrollValueChanged(AbstractPamScroller pamScroller)
          Notification sent when a scroller or slider changes it's position
 void valueChanged(double oldValue, double newValue)
          fired when the value in the range spinner changes either by the user pressing the spinner buttons or by typing a value and hitting the enter key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoiseTabPanel.TimeRangeListener

private NoiseTabPanel.TimeRangeListener()
Method Detail

valueChanged

public void valueChanged(double oldValue,
                         double newValue)
Description copied from interface: RangeSpinnerListener
fired when the value in the range spinner changes either by the user pressing the spinner buttons or by typing a value and hitting the enter key.

Specified by:
valueChanged in interface RangeSpinnerListener
Parameters:
oldValue - old value of the spinner
newValue - new value of the spinner

scrollRangeChanged

public void scrollRangeChanged(AbstractPamScroller pamScroller)
Description copied from interface: PamScrollObserver
Notification sent when a scroller or slider changes it's data range

If data were loaded in a worker thread, this notification is sent after the new data have loaded.

Specified by:
scrollRangeChanged in interface PamScrollObserver
Parameters:
pamScroller - reference to moved scroller.

scrollValueChanged

public void scrollValueChanged(AbstractPamScroller pamScroller)
Description copied from interface: PamScrollObserver
Notification sent when a scroller or slider changes it's position

Specified by:
scrollValueChanged in interface PamScrollObserver
Parameters:
pamScroller - reference to moved scroller