Class EarthDataChooser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

@Deprecated public class EarthDataChooser extends JPanel
Deprecated.
As of 3.8.1 use EarthDataReaderChooser.
The EarthDataChooser class allows the user to choose a dataset and list of variables for opening earth locatable data. Data must be in a format recognizable by the EarthDataReaderFactory class. Property changes are used to signal a change in reader or list of variables names.
Since:
3.2.0
Author:
Peter Hollemans
See Also:
  • Field Details

  • Constructor Details

    • EarthDataChooser

      public EarthDataChooser()
      Deprecated.
      Creates a new chooser panel.
  • Method Details

    • clearReader

      public void clearReader(boolean doClose)
      Deprecated.
      Clears the selected reader. Subsequent calls to getReader() will return null.
      Parameters:
      doClose - true to close any existing reader, or false to leave reader open.
    • getReader

      public EarthDataReader getReader()
      Deprecated.
      Gets the currently selected reader, or null for none.
    • showDialog

      public static EarthDataReader showDialog(Component component, File selectedFile)
      Deprecated.
      Creates and shows a chooser in a dialog. The dialog takes care of saving any changes to the editable server table.
      Parameters:
      component - the dialog parent component.
      selectedFile - the file to initially show selected, or null for none. If the file is actually a directory, the current directory is set to the directory.
      Returns:
      the user-selected reader or null if the user cancelled the dialog.
    • main

      public static void main(String[] argv) throws Exception
      Deprecated.
      Tests this class.
      Parameters:
      argv - the array of command line parameters.
      Throws:
      Exception