Class AbstractPamScrollerFX

java.lang.Object
pamScrollSystem.AbstractPamScroller
pamViewFX.fxNodes.pamScrollers.AbstractPamScrollerFX
All Implemented Interfaces:
Serializable, DataTimeLimits
Direct Known Subclasses:
AcousticScrollerFX, PamScrollerFX

public abstract class AbstractPamScrollerFX extends AbstractPamScroller implements Serializable
A scroller UI interfacing with PAMGUARD programmed using JavaFX.
Author:
Jamie Macaulay
See Also:
  • Constructor Details Link icon

    • AbstractPamScrollerFX Link icon

      public AbstractPamScrollerFX(String name, javafx.geometry.Orientation orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu)
  • Method Details Link icon

    • createNavigationPane Link icon

      public javafx.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. Can override this to add more controls.
      Parameters:
      isViewer - -whether in viewer mode or not
      Orientation - orientation -orientation of the scroll bar
      Returns:
      pane holding controls for time navigation.
    • openTimeNavigationDialogAWT Link icon

      public void openTimeNavigationDialogAWT()
      Opens the AWT time navigation dialog.
    • openTimeNavigationDialogFX Link icon

      public void openTimeNavigationDialogFX()
      Open the time navigation dialog.
    • getOrientation Link icon

      public javafx.geometry.Orientation getOrientation()
      Get the orientation of the scroll bar.
      Returns:
      orientation of the scroll bar. Either horizontal or vertical.
    • getSettingsButton Link icon

      public PamButton getSettingsButton()
      Get the settings button which opens the navigation dialog.
      Returns:
      the button which opens the navigation dialog.
    • getPageForwardButton Link icon

      public PamButton getPageForwardButton()
      Get the page forward button used in viewer mode.
      Returns:
    • getPageBackwardButton Link icon

      public PamButton getPageBackwardButton()
      Get the page backward button
      Returns:
    • getNode Link icon

      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 Link icon

      public boolean isShowing()
      Overrides:
      isShowing in class AbstractPamScroller