Class LatLonScalePanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class LatLonScalePanel extends JPanel implements ActionListener
A widget to get lat/lon range info from the user
Author:
IDV Development Team
See Also:
  • Constructor Details

    • LatLonScalePanel

      public LatLonScalePanel(MapProjectionDisplay mpDisplay)
      Create a new dialog for setting the coordinate range of the display
      Parameters:
      mpDisplay - the mp display
  • Method Details

    • doMakeContents

      protected void doMakeContents()
      Make the widget contents (UI)
    • actionPerformed

      public void actionPerformed(ActionEvent evt)
      Handle user click on OK or other(cancel) button. Closes the dialog.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      evt - event to handle
    • doApply

      public boolean doApply()
      Apply the dialog state
      Returns:
      Was it successful
    • setLatScaleInfo

      public void setLatScaleInfo(LatLonAxisScaleInfo latScaleInfo)
      Sets the lat scale info.
      Parameters:
      latScaleInfo - the new lat scale info
    • setLonScaleInfo

      public void setLonScaleInfo(LatLonAxisScaleInfo lonScaleInfo)
      Sets the lon scale info.
      Parameters:
      lonScaleInfo - the new lon scale info
    • isLonVisible

      public boolean isLonVisible()
      Checks if is lon visible.
      Returns:
      true, if is lon visible
    • isLatVisible

      public boolean isLatVisible()
      Checks if is lat visible.
      Returns:
      true, if is lat visible