Package pamScrollSystem
Class PamScrollSlider
java.lang.Object
pamScrollSystem.AbstractPamScroller
pamScrollSystem.AbstractPamScrollerAWT
pamScrollSystem.PamScrollSlider
- All Implemented Interfaces:
 Serializable,DataTimeLimits
- See Also:
 
- 
Field Summary
Fields inherited from class pamScrollSystem.AbstractPamScrollerAWT
HORIZONTAL, VERTICALFields inherited from class pamScrollSystem.AbstractPamScroller
needsNotify, observers, pamMenuParts, playSpeeds, scrollerData, scrollManager, usedDataBlocks - 
Constructor Summary
ConstructorsConstructorDescriptionPamScrollSlider(String name, int orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidanotherScrollerMovedInner(long newValue) Another managed scroller moved it's positionvoiddoMouseWheelAction(MouseWheelEvent mouseWheelEvent) longThe start time of the scroller in milliseconds.longThis will be none for sliders, such as on the map.voidrangesChanged(long setValue) Called when ranges have been changed and tells scroller to go to a particular absolute value.voidvoidsetPageStep(int pageStep) voidsetRangeMillis(long minimumMillis, long maximumMillis, boolean notify) Set the range of the currently loaded data and optionally notify other scrollers.voidsetStepSizeMillis(int stepSizeMillis) voidsetUnitIncrement(long unitIncrement) voidvalueSetMillis(long valueMillis) Called when a new position has been setMethods inherited from class pamScrollSystem.AbstractPamScrollerAWT
addMouseWheelSource, createScrollComponenent, createScrollComponenent, getButtonPanel, getStandardOptionsMenu, isShowing, menuButtonPress, playbackStarted, playbackStopped, setVisible, showPlaybackMenuMethods inherited from class pamScrollSystem.AbstractPamScroller
addDataBlock, addMenuParts, addObserver, anotherScrollerMovedOuter, coupledScrollerChanged, coupleScroller, destroyScroller, getDefaultLoadtime, getMaximumMillis, getMinimumMillis, getNumUsedDataBlocks, getObservers, getPageStep, getPamMenuParts, getRangeMillis, getScrollerCoupling, getScrollerData, getScrollManager, getSpecialLoadTimes, getStepSizeMillis, getUsedDataBlock, getVisibleEnd, isDataBlockUsed, isInSpecialList, notifyRangeChange, notifyValueChange, pageBack, pageForward, playTimerAction, rangesChangedF, reLoad, removeAllDataBlocks, removeDataBlock, removeObserver, setBlockIncrement, setDefaultLoadtime, setScrollerCoupling, setValueMillis, setVisibleMillis, startPlayback, stopPlayback, toString, uncoupleScroller 
- 
Constructor Details
- 
PamScrollSlider
public PamScrollSlider(String name, int orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu)  
 - 
 - 
Method Details
- 
doMouseWheelAction
 - 
scrollMoved
public void scrollMoved() - 
anotherScrollerMovedInner
public void anotherScrollerMovedInner(long newValue) Description copied from class:AbstractPamScrollerAnother managed scroller moved it's position- Specified by:
 anotherScrollerMovedInnerin classAbstractPamScroller- Parameters:
 newValue- new value in millis
 - 
getComponent
- Specified by:
 getComponentin classAbstractPamScrollerAWT- Returns:
 - the Swing component to go into the GUI.
 
 - 
rangesChanged
public void rangesChanged(long setValue) Description copied from class:AbstractPamScrollerCalled when ranges have been changed and tells scroller to go to a particular absolute value.- Specified by:
 rangesChangedin classAbstractPamScroller- Parameters:
 setValue-
 - 
getValueMillis
public long getValueMillis()Description copied from class:AbstractPamScrollerThe start time of the scroller in milliseconds. This is the current position of the scroller NOT the start time of loaded data.- Specified by:
 getValueMillisin classAbstractPamScroller- Returns:
 - the valueMillis
 
 - 
valueSetMillis
public void valueSetMillis(long valueMillis) Description copied from class:AbstractPamScrollerCalled when a new position has been set- Specified by:
 valueSetMillisin classAbstractPamScroller- Parameters:
 valueMillis- new scroll value in milliseconds
 - 
getVisibleAmount
public long getVisibleAmount()Description copied from class:AbstractPamScrollerThis will be none for sliders, such as on the map. For other scrollers it should be the same as the time displayed in to the navigaiton buttons of the scroller.- Specified by:
 getVisibleAmountin classAbstractPamScroller- Returns:
 - the visible display time in milliseconds.
 
 - 
setRangeMillis
public void setRangeMillis(long minimumMillis, long maximumMillis, boolean notify) Description copied from class:AbstractPamScrollerSet the range of the currently loaded data and optionally notify other scrollers.- Overrides:
 setRangeMillisin classAbstractPamScroller- Parameters:
 minimumMillis- minimum time in millisecondsmaximumMillis- maximum time in millisecondsnotify- notify the rangesChanged function.
 - 
setStepSizeMillis
public void setStepSizeMillis(int stepSizeMillis) - Overrides:
 setStepSizeMillisin classAbstractPamScroller- Parameters:
 stepSizeMillis- the stepSizeMillis to set
 - 
setUnitIncrement
public void setUnitIncrement(long unitIncrement) - Overrides:
 setUnitIncrementin classAbstractPamScroller- Parameters:
 unitIncrement- the unitIncrement to set in millis
 - 
setPageStep
public void setPageStep(int pageStep) - Overrides:
 setPageStepin classAbstractPamScroller- Parameters:
 pageStep- the pageStep to set
 - 
getSlider
- Returns:
 - the slider
 
 
 -