Class TDPamScrollerFX

All Implemented Interfaces:
Serializable, DataTimeLimits

public class TDPamScrollerFX extends PamScrollerFX
Subclass for the td display. Provides a specific type of navigation dialog for this scroller.
Author:
Jamie Macaulay
See Also:
  • 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.HORIZONTAL
      stepSizeMillis - 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 class PamScrollerFX
      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 class PamScrollerFX
      Parameters:
      orientation - - orientation of the time scroller.
    • setOrientation

      public void setOrientation(javafx.geometry.Orientation orientation)
      Set orientation for the scroller.
      Overrides:
      setOrientation in class PamScrollerFX
      Parameters:
      orientation - - orientation of the time scroller.
    • getTimeRangeSpinner

      public TimeRangeScrollSpinner getTimeRangeSpinner()
      Get the spinner which changes time ranges.
      Returns:
      time range spinner.
    • addRangeObserver

      public void addRangeObserver(VisibleRangeObserver timeRangeListener)
      Add an observer for visible range changes in the scroll bar.
      Parameters:
      timeRangeListener -