Package PamUtils

Class LatLongEditableDialogStrip

java.lang.Object
PamUtils.LatLongEditableDialogStrip
All Implemented Interfaces:
PamDialogPanel

public class LatLongEditableDialogStrip extends Object implements PamDialogPanel
A better Lat Long editable dialog strip, containing the functionality developed for the new Array Manager.
Author:
Doug Gillespie
  • Constructor Details

    • LatLongEditableDialogStrip

      public LatLongEditableDialogStrip(Window owner, String borderTitle)
  • Method Details

    • currentGPS

      public void currentGPS(ActionEvent e, GpsData currentGpsData)
    • mapPaste

      public void mapPaste(ActionEvent e, GpsData pastedGpsData)
    • setLatLong

      public void setLatLong(LatLong latLong)
      Just set the lat long without resetting the heading.
      Parameters:
      latLong -
    • getDialogComponent

      public JComponent getDialogComponent()
      Description copied from interface: PamDialogPanel
      Get the awt component which will be incorporated into a larger display panel / component.
      Specified by:
      getDialogComponent in interface PamDialogPanel
      Returns:
      an awt component.
    • getLatLong

      public LatLong getLatLong()
      Get teh current value.
      Returns:
    • setParams

      public void setParams()
      Description copied from interface: PamDialogPanel
      Set the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.
      Specified by:
      setParams in interface PamDialogPanel
    • getParams

      public boolean getParams()
      Specified by:
      getParams in interface PamDialogPanel
      Returns:
      true if parameters all have acceptable values and the dialog can close.
    • enableControls

      public void enableControls(boolean enable)