Class VRSettingsPane

All Implemented Interfaces:
DynamicSettings

public class VRSettingsPane extends DynamicSettingsPane<VRParameters>
Pane for changing the main video range settings class.
Author:
Jamie Macaulay
  • Field Details

    • HEIGHTTAB

      public static final int HEIGHTTAB
      Flag for opening the height tab
      See Also:
    • LANDMARKTAB

      public static final int LANDMARKTAB
      Flag for opening the landmark tab
      See Also:
    • TIMETAB

      public static final int TIMETAB
      Flag for opening the time settings tab
      See Also:
    • TIDETAB

      public static final int TIDETAB
      Flag for opening the tide tab
      See Also:
    • IMAGELOCATIONTAB

      public static final int IMAGELOCATIONTAB
      Flag for opening the image location tab.
      See Also:
    • CALIBRATIONTAB

      public static final int CALIBRATIONTAB
      Flag for opening the image calibration tab.
      See Also:
  • Constructor Details

    • VRSettingsPane

      public VRSettingsPane(VRControl vrControl, Object ownerWindow)
  • Method Details

    • createPane

      public javafx.scene.control.TabPane createPane()
      The settings pane
    • getParams

      public VRParameters getParams(VRParameters currParams)
      Description copied from class: SettingsPane
      Get settings from the pane.
      Specified by:
      getParams in class SettingsPane<VRParameters>
      Returns:
      settings class
    • setParams

      public void setParams(VRParameters input)
      Description copied from class: SettingsPane
      Called whenever the pane is first shown/open to set pane to show current settings.
      Specified by:
      setParams in class SettingsPane<VRParameters>
      Parameters:
      input - - current settings class.
    • getName

      public String getName()
      Description copied from class: SettingsPane
      Get the name of the pane.
      Specified by:
      getName in class SettingsPane<VRParameters>
      Returns:
      name of the pane
    • getContentNode

      public javafx.scene.Node getContentNode()
      Description copied from class: SettingsPane
      Get node for GUI change of settings.
      Specified by:
      getContentNode in class SettingsPane<VRParameters>
    • paneInitialized

      public void paneInitialized()
      Description copied from class: SettingsPane
      Called when settings pane is first initialised. This can be used if for example, a the size of a pane is needed for a param. (Sizes are only initialised when Nodes are shown);
      Specified by:
      paneInitialized in class SettingsPane<VRParameters>
    • getLandMarkGroupObject

      public static LandMarkGroup getLandMarkGroupObject(VRSettingsPane.LandMarkGroupItem landMarkGroupItem)
      Get a LandMarkGroup from a LandMarkGroupItem.
      Parameters:
      landMarkGroupItem - - the land mark group property
      Returns:
      the land mark group item.
    • update

      public void update(int updateType)
      Called when external updates to settings are perfromed.
      Parameters:
      updateType - - the update type.
    • setTab

      public void setTab(int tab)
      Set the selected tab
      Parameters:
      tab - - the selected tab flag.