Package dataPlotsFX.scroller
Class TDAcousticScroller
java.lang.Object
pamScrollSystem.AbstractPamScroller
pamViewFX.fxNodes.pamScrollers.AbstractPamScrollerFX
pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticScrollerFX
dataPlotsFX.scroller.TDAcousticScroller
- All Implemented Interfaces:
 Serializable,PamSettings,SettingsNameProvider,DataTimeLimits
Subclass for the td display. Provides a specific type of navigation dialog for this scroller.
- Author:
 - Jamie Macaulay
 - See Also:
 
- 
Property Summary
Properties inherited from class pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticScrollerFX
scrollerChanging, scrollMoving - 
Nested Class Summary
Nested classes/interfaces inherited from class pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticScrollerFX
AcousticScrollerFX.LoadTask - 
Field Summary
Fields inherited from class pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticScrollerFX
isViewer, rangeObserverFields inherited from class pamScrollSystem.AbstractPamScroller
needsNotify, observers, pamMenuParts, playSpeeds, scrollerData, scrollManager, usedDataBlocks - 
Constructor Summary
ConstructorsConstructorDescriptionTDAcousticScroller(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 TypeMethodDescriptionvoidaddDataBlock(PamDataBlock dataBlock) Add a datablock to the list for this scroller.voidaddDataBlockGraphics(PamDataBlock dataBlock) voidaddRangeObserver(VisibleRangeObserver timeRangeListener) The range spinner.voidCreate select button.javafx.scene.layout.PanegetNode()Get the node which contain all controls for scrolling system.longvoidlayoutScrollBarPane(javafx.geometry.Orientation orientation) Layout the control pane containing scroll bar and buttons to navigate in time.voidBegins redrawing data hello in the scroll bar.booleanrestoreSettings(PamControlledUnitSettings pamControlledUnitSettings) voidsetOrientation(javafx.geometry.Orientation orientation) Set orientation for the scroller.voidsetVisibleMillis(long visibleAmount) Methods inherited from class pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticScrollerFX
addAcousticScrollGraphics, addNewPamData, anotherScrollerMovedInner, cancelDataLoadTasks, getAcousticScrollGraphics, getBinsPerPixel, getBlockIncrement, getCurrentGraphicsIndex, getMainPane, getNavigationPane, getScrollBarPane, getTimeAxis, getValueMillis, getValueMillisD, getVisibleAmount, getVisibleMillis, isScrollerChanging, loadScrollerData, pauseDataload, rangesChanged, removeAcousticScrollGraphics, removeRangeObserver, repaint, scrollerChangingProperty, scrollMovingProperty, setBlockIncrement, setCurrentGraphicsIndex, setDataGramColors, setRangeMillis, setSampleRate, setScrollerGraphics, setScrollRectVisible, setUnitIncrement, valueSetMillisMethods inherited from class pamViewFX.fxNodes.pamScrollers.AbstractPamScrollerFX
createNavigationPane, getOrientation, getPageBackwardButton, getPageForwardButton, getSettingsButton, isShowing, openTimeNavigationDialogAWT, openTimeNavigationDialogFXMethods inherited from class pamScrollSystem.AbstractPamScroller
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, playbackStarted, playbackStopped, playTimerAction, rangesChangedF, reLoad, removeAllDataBlocks, removeDataBlock, removeObserver, setDefaultLoadtime, setPageStep, setScrollerCoupling, setStepSizeMillis, setValueMillis, startPlayback, stopPlayback, toString, uncoupleScroller 
- 
Constructor Details
- 
TDAcousticScroller
public TDAcousticScroller(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.owner- The pamscroller window owner. Used to keep dialogs inside the TDDisplay window.
 
 - 
 - 
Method Details
- 
setVisibleMillis
public void setVisibleMillis(long visibleAmount) - Overrides:
 setVisibleMillisin classAcousticScrollerFX- Parameters:
 visibleAmount- the visibleAmount to set in millis
 - 
createSelectorButton
public void createSelectorButton()Create select button. - 
addDataBlock
Description copied from class:AbstractPamScrollerAdd a datablock to the list for this scroller.When the scroller is moved, data from data blocks in this list will re read from the database and binary stores. Other data will not be read.
- Overrides:
 addDataBlockin classAbstractPamScroller- Parameters:
 dataBlock- a PamDataBlock
 - 
addDataBlockGraphics
 - 
layoutScrollBarPane
public void layoutScrollBarPane(javafx.geometry.Orientation orientation) Description copied from class:AcousticScrollerFXLayout the control pane containing scroll bar and buttons to navigate in time.- Overrides:
 layoutScrollBarPanein classAcousticScrollerFX- Parameters:
 orientation- - orientation of the time scroller.
 - 
setOrientation
public void setOrientation(javafx.geometry.Orientation orientation) Set orientation for the scroller.- Overrides:
 setOrientationin classAcousticScrollerFX- Parameters:
 orientation- - orientation of the time scroller.
 - 
addRangeObserver
The range spinner.- Overrides:
 addRangeObserverin classAcousticScrollerFX- Parameters:
 timeRangeListener-
 - 
getNode
public javafx.scene.layout.Pane getNode()Description copied from class:AbstractPamScrollerFXGet the node which contain all controls for scrolling system.- Overrides:
 getNodein classAcousticScrollerFX- Returns:
 - the FX component to go into the GUI.
 
 - 
loadScrollerData
public void loadScrollerData()Description copied from class:AcousticScrollerFXBegins redrawing data hello in the scroll bar.- Overrides:
 loadScrollerDatain classAcousticScrollerFX
 - 
getUnitName
- Specified by:
 getUnitNamein interfaceSettingsNameProvider- Returns:
 - A Name specific to this instance of the particular class, e.g. Sperm whale detector, Beaked whale detector, etc.
 
 - 
getUnitType
- Specified by:
 getUnitTypein interfacePamSettings- Returns:
 - A Name specific to the type, e.g. Click detector
 
 - 
getSettingsReference
- Specified by:
 getSettingsReferencein interfacePamSettings- Returns:
 - The serialisable object that will be stored
 
 - 
getSettingsVersion
public long getSettingsVersion()- Specified by:
 getSettingsVersionin interfacePamSettings- Returns:
 - An integer version number for the settings
 
 - 
restoreSettings
- Specified by:
 restoreSettingsin interfacePamSettings- Parameters:
 pamControlledUnitSettings-- Returns:
 - true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
 
 
 -