Package pamViewFX.fxNodes.pamScrollers
Class AbstractPamScrollerFX
java.lang.Object
pamScrollSystem.AbstractPamScroller
pamViewFX.fxNodes.pamScrollers.AbstractPamScrollerFX
- All Implemented Interfaces:
Serializable
,DataTimeLimits
- Direct Known Subclasses:
AcousticScrollerFX
,PamScrollerFX
A scroller UI interfacing with PAMGUARD programmed using JavaFX.
- Author:
- Jamie Macaulay
- See Also:
-
Constructor Summary
ConstructorDescriptionAbstractPamScrollerFX
(String name, javafx.geometry.Orientation orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.layout.Pane
createNavigationPane
(boolean isViewer, javafx.geometry.Orientation orientation) Create the navigation menu based on whether the scroll bar is being used in real time or for viewing data.abstract javafx.scene.layout.Pane
getNode()
Get the node which contain all controls for scrolling system.javafx.geometry.Orientation
Get the orientation of the scroll bar.Get the page backward buttonGet the page forward button used in viewer mode.Get the settings button which opens the navigation dialog.boolean
void
Opens the AWT time navigation dialog.void
Open the time navigation dialog.Methods inherited from class pamScrollSystem.AbstractPamScroller
addDataBlock, addMenuParts, addObserver, anotherScrollerMovedInner, anotherScrollerMovedOuter, coupledScrollerChanged, coupleScroller, destroyScroller, getDefaultLoadtime, getMaximumMillis, getMinimumMillis, getNumUsedDataBlocks, getObservers, getPageStep, getPamMenuParts, getRangeMillis, getScrollerCoupling, getScrollerData, getScrollManager, getSpecialLoadTimes, getStepSizeMillis, getUsedDataBlock, getValueMillis, getVisibleAmount, getVisibleEnd, isDataBlockUsed, isInSpecialList, notifyRangeChange, pageBack, pageForward, playbackStarted, playbackStopped, rangesChanged, reLoad, removeAllDataBlocks, removeDataBlock, removeObserver, setBlockIncrement, setPageStep, setRangeMillis, setScrollerCoupling, setStepSizeMillis, setUnitIncrement, setValueMillis, setVisibleMillis, startPlayback, stopPlayback, toString, uncoupleScroller, valueSetMillis
-
Constructor Details
-
AbstractPamScrollerFX
public AbstractPamScrollerFX(String name, javafx.geometry.Orientation orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu)
-
-
Method Details
-
getOrientation
public javafx.geometry.Orientation getOrientation()Get the orientation of the scroll bar.- Returns:
- orientation of the scroll bar. Either horizontal or vertical.
-
getSettingsButton
Get the settings button which opens the navigation dialog.- Returns:
- the button which opens the navigation dialog.
-
getPageForwardButton
Get the page forward button used in viewer mode.- Returns:
-
getPageBackwardButton
Get the page backward button- Returns:
-
getNode
public abstract javafx.scene.layout.Pane getNode()Get the node which contain all controls for scrolling system.- Returns:
- the FX component to go into the GUI.
-
isShowing
public boolean isShowing()- Overrides:
isShowing
in classAbstractPamScroller