Package Array

Class ArrayDialog

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

public class ArrayDialog extends PamDialog implements ActionListener
Main dialog for hydrophone array configuration
Author:
Doug Gillespie
See Also:
  • Method Details

    • showDialog

      public static PamArray showDialog(Frame parentFrame, ArrayManager arrayManager)
      Open main dialog for hydrophone array configuration
      Parameters:
      parentFrame - parent frame or window.
    • getParams

      public boolean getParams()
      Description copied from class: PamDialog
      called when the Ok button is pressed. This must return true in order that the dialog may close. It should also copy all parameters into an object that will be returned by showDialog.
      Specified by:
      getParams in class PamDialog
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • addArray

      public void addArray(PamArray newArray)
    • getArrayFileChooser

      public JFileChooser getArrayFileChooser()
    • cancelButtonPressed

      public void cancelButtonPressed()
      Description copied from class: PamDialog
      called when the cancel button is pressed before the dialog closes. Generally you should set the parameters returned by the dialog to null or some default value, or in some other way indicate that Cancel was pressed.
      Specified by:
      cancelButtonPressed in class PamDialog
    • restoreDefaultSettings

      public void restoreDefaultSettings()
      Description copied from class: PamDialog
      standard function which should us used to copy default parameters into the dialog controls.
      Specified by:
      restoreDefaultSettings in class PamDialog
    • getHydrophoneDialogPanel

      public HydrophoneDialogPanel getHydrophoneDialogPanel()
    • getHydrophoneDiagram

      public HydrophoneDiagram getHydrophoneDiagram()
    • getChannelPanel

      public ChannelPanel getChannelPanel()