clickDetector
Class ClickBTDisplay.HScrollManager

java.lang.Object
  extended by clickDetector.ClickBTDisplay.HScrollManager
All Implemented Interfaces:
PamScrollObserver
Direct Known Subclasses:
ClickBTDisplay.OfflineScrollManager, ClickBTDisplay.RealTimeScrollManager
Enclosing class:
ClickBTDisplay

abstract class ClickBTDisplay.HScrollManager
extends java.lang.Object
implements PamScrollObserver


Constructor Summary
ClickBTDisplay.HScrollManager()
           
 
Method Summary
(package private)  long getDisplayStartMillis()
          Get the start time of the display in milliseconds.
protected  long roundUp(long val)
          Function for rounding up times in milliseconds to the nearest second.
(package private) abstract  boolean setupScrollBar(long maxMillis)
          Set up the scroll bar
(package private) abstract  void timeRangeChanged()
          Called whenever the vertical scroll position i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface pamScrollSystem.PamScrollObserver
scrollRangeChanged, scrollValueChanged
 

Constructor Detail

ClickBTDisplay.HScrollManager

ClickBTDisplay.HScrollManager()
Method Detail

setupScrollBar

abstract boolean setupScrollBar(long maxMillis)
Set up the scroll bar

Parameters:
maxMillis - the maximum time of the display in milliseconds.
Returns:
true if the scroll posiiton has changed (will require a repaint)

timeRangeChanged

abstract void timeRangeChanged()
Called whenever the vertical scroll position i.e. the length of the display, has changed


roundUp

protected long roundUp(long val)
Function for rounding up times in milliseconds to the nearest second.

Parameters:
val - value to round
Returns:
rounded value.

getDisplayStartMillis

long getDisplayStartMillis()
Get the start time of the display in milliseconds.

Returns: