|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectpamScrollSystem.AbstractScrollManager
pamScrollSystem.RealTimeScrollManager
public class RealTimeScrollManager
| Field Summary |
|---|
| Fields inherited from class pamScrollSystem.AbstractScrollManager |
|---|
pamScrollers |
| Constructor Summary | |
|---|---|
RealTimeScrollManager()
|
|
| Method Summary | |
|---|---|
void |
centreDataAt(PamDataBlock dataBlock,
long menuMouseTime)
Centre all data in all data blocks at the given time |
long |
checkGapPos(AbstractPamScroller abstractPamScroller,
long oldMin,
long oldMax,
long newMin,
long newMax,
int i)
Check to see whether or not we are scrolling into a data gap. |
long |
checkMaximumTime(long requestedTime)
Check the maximum time requested by a scroll bar doesn't go beyond the end of the data |
long |
checkMinimumTime(long requestedTime)
Check the minimum time requested by a scroll bar doesn't go below the start of the data |
void |
moveInnerScroller(AbstractPamScroller scroller,
long newValue)
Move the scroll bar component of a scroller. |
void |
moveOuterScroller(AbstractPamScroller scroller,
long newMin,
long newMax)
Move the data load component of a scroller. |
void |
notifyModelChanged(int changeType)
|
void |
reLoad()
Command telling manager to reload it's data. |
void |
startDataAt(PamDataBlock dataBlock,
long menuMouseTime)
Start all data in all data blocks at the given time |
| Methods inherited from class pamScrollSystem.AbstractScrollManager |
|---|
addPamScroller, coupleScroller, getScrollManager, getStandardOptionsMenu, isInGap, removePamScroller, uncoupleScroller |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RealTimeScrollManager()
| Method Detail |
|---|
public long checkMaximumTime(long requestedTime)
AbstractScrollManager
checkMaximumTime in class AbstractScrollManagerrequestedTime - requested time in millis.
public long checkMinimumTime(long requestedTime)
AbstractScrollManager
checkMinimumTime in class AbstractScrollManager
public void moveInnerScroller(AbstractPamScroller scroller,
long newValue)
AbstractScrollManager
moveInnerScroller in class AbstractScrollManagerscroller - scroller that movednewValue - new value (time in milliseconds).
public void moveOuterScroller(AbstractPamScroller scroller,
long newMin,
long newMax)
AbstractScrollManager
moveOuterScroller in class AbstractScrollManagerscroller - scroller that changednewMin - new data min value in millisnewMax - new data max value in millispublic void notifyModelChanged(int changeType)
notifyModelChanged in class AbstractScrollManager
public void startDataAt(PamDataBlock dataBlock,
long menuMouseTime)
AbstractScrollManager
startDataAt in class AbstractScrollManagermenuMouseTime - time in milliseconds
public void centreDataAt(PamDataBlock dataBlock,
long menuMouseTime)
AbstractScrollManager
centreDataAt in class AbstractScrollManagermenuMouseTime - time in millisecondspublic void reLoad()
AbstractScrollManager
reLoad in class AbstractScrollManager
public long checkGapPos(AbstractPamScroller abstractPamScroller,
long oldMin,
long oldMax,
long newMin,
long newMax,
int i)
AbstractScrollManager
checkGapPos in class AbstractScrollManagerabstractPamScroller - PamScroller that movedoldMin - old minimum timeoldMax - old maximum timenewMin - new minimum timenewMax - new maximum timei - direction of scroll +1 = forward, -1 = backward, 0 = plonked down by mouse on datamap.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||