Package dataPlotsFX.scroller
Class TDPamScrollerFX
java.lang.Object
pamScrollSystem.AbstractPamScroller
pamViewFX.fxNodes.pamScrollers.AbstractPamScrollerFX
pamScrollSystem.PamScrollerFX
dataPlotsFX.scroller.TDPamScrollerFX
- All Implemented Interfaces:
Serializable
,DataTimeLimits
Subclass for the td display. Provides a specific type of navigation dialog for this scroller.
- Author:
- Jamie Macaulay
- See Also:
-
Constructor Summary
ConstructorDescriptionTDPamScrollerFX
(String name, javafx.geometry.Orientation orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu, TDDisplayFX tdDisplay) Construct a PAMGUARD scroll bar which contains a main scroll bar bit and buttons for moving forward in large secScollbar name (used in scroll bar management) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRangeObserver
(VisibleRangeObserver timeRangeListener) Add an observer for visible range changes in the scroll bar.javafx.scene.layout.Pane
getNode()
Get the node which contain all controls for scrolling system.Get the spinner which changes time ranges.void
layoutScrollBarPane
(javafx.geometry.Orientation orientation) Layout the control pane containing scroll bar and buttons to navigate in time.void
setOrientation
(javafx.geometry.Orientation orientation) Set orientation for the scroller.Methods inherited from class pamScrollSystem.PamScrollerFX
anotherScrollerMovedInner, getBlockIncrement, getScrollBar, getValueMillis, getVisibleAmount, rangesChanged, scrollMoved, setBlockIncrement, setUnitIncrement, setVisibleMillis, valueSetMillis
Methods inherited from class pamViewFX.fxNodes.pamScrollers.AbstractPamScrollerFX
createNavigationPane, getOrientation, getPageBackwardButton, getPageForwardButton, getSettingsButton, isShowing, openTimeNavigationDialogAWT, openTimeNavigationDialogFX
Methods 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, pageBack, pageForward, playbackStarted, playbackStopped, reLoad, removeAllDataBlocks, removeDataBlock, removeObserver, setPageStep, setRangeMillis, setScrollerCoupling, setStepSizeMillis, setValueMillis, startPlayback, stopPlayback, toString, uncoupleScroller
-
Constructor Details
-
TDPamScrollerFX
public TDPamScrollerFX(String name, javafx.geometry.Orientation orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu, TDDisplayFX tdDisplay) Construct a PAMGUARD scroll bar which contains a main scroll bar bit and buttons for moving forward in large secScollbar name (used in scroll bar management)- Parameters:
orientation
- AbstractPamScroller.VERTICAL or AbstractPamScroller.HORIZONTALstepSizeMillis
- step size in milliseconds for scroller.defaultLoadTime
- default amount of data to load.hasMenu
- true if menu options should be shown in navigation area.
-
-
Method Details
-
getNode
public javafx.scene.layout.Pane getNode()Description copied from class:AbstractPamScrollerFX
Get the node which contain all controls for scrolling system.- Overrides:
getNode
in classPamScrollerFX
- Returns:
- the FX component to go into the GUI.
-
layoutScrollBarPane
public void layoutScrollBarPane(javafx.geometry.Orientation orientation) Description copied from class:PamScrollerFX
Layout the control pane containing scroll bar and buttons to navigate in time.- Overrides:
layoutScrollBarPane
in classPamScrollerFX
- Parameters:
orientation
- - orientation of the time scroller.
-
setOrientation
public void setOrientation(javafx.geometry.Orientation orientation) Set orientation for the scroller.- Overrides:
setOrientation
in classPamScrollerFX
- Parameters:
orientation
- - orientation of the time scroller.
-
getTimeRangeSpinner
Get the spinner which changes time ranges.- Returns:
- time range spinner.
-
addRangeObserver
Add an observer for visible range changes in the scroll bar.- Parameters:
timeRangeListener
-
-