Class LatLongPane

java.lang.Object
PamController.SettingsPane<LatLong>
pamViewFX.fxNodes.utilityPanes.LatLongPane

public class LatLongPane extends SettingsPane<LatLong>
Pane with controls to to set the values for a Latitude and Longitude. The pane allows users to change the Latitude and Longitude in both Degrees, Decimal minutes and Degrees, Minutes, Seconds
Author:
Jamie Macaulay
  • Constructor Details

    • LatLongPane

      public LatLongPane(String title)
  • Method Details

    • actionPerformed

      public void actionPerformed(javafx.event.ActionEvent action)
    • getParams

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

      public void setParams(LatLong 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<LatLong>
      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<LatLong>
      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<LatLong>
    • 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<LatLong>