Class ViewpointDialog

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

public class ViewpointDialog extends JDialog implements ActionListener
A widget to get viewpoint (azimuth, tilt) info from the user.
Version:
$Revision: 1.13 $
Author:
IDV Development Team
See Also:
  • Constructor Details

    • ViewpointDialog

      public ViewpointDialog(ViewpointControl vc, JFrame parent)
      Create a new dialog for setting the viewpoing
      Parameters:
      vc - the viewpoint control
      parent - parent for modal dialog
  • Method Details

    • 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
    • showDialog

      public void showDialog(ViewpointInfo transfer)
      Show the dialog and get the user input
      Parameters:
      transfer - initial values