Class SoundingFileBrowser

java.lang.Object
ucar.unidata.view.sounding.SoundingFileBrowser
Direct Known Subclasses:
NetcdfFileBrowser

public class SoundingFileBrowser extends Object
A browser for finding netCDF upper air files.
Author:
Unidata development team
  • Field Details

    • FILTER_NC

      public static final PatternFileFilter FILTER_NC
      PatternFileFilter for upper air netCDF files
    • FILTER_CMA_UA

      public static final PatternFileFilter FILTER_CMA_UA
      PatternFileFilter for CMA upper air files
    • FILTER_GEM_UA

      public static final PatternFileFilter FILTER_GEM_UA
      PatternFileFilter for GEMPAK upper air files
    • selectedFileDisplay

      protected JTextField selectedFileDisplay
      selected file input
  • Method Details

    • checkNewFile

      protected void checkNewFile(File selectedFile)
      Check the status of the file.
      Parameters:
      selectedFile - file to use for checking
    • getContents

      public JPanel getContents()
      Get the contents of this browser.
      Returns:
      browser contents
    • getSoundingAdapterProperty

      protected Property getSoundingAdapterProperty()
      Get the SoundingAdapter property
      Returns:
      the SoundingAdapter property
    • getSoundingAdapter

      public SoundingAdapter getSoundingAdapter()
      Get the SoundingAdapter associated with this browser
      Returns:
      the associated SoundingAdapter
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
      Adds a property change listener.
      Parameters:
      listener - The property change listener.
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener listener)
      Removes a property change listener.
      Parameters:
      listener - The property change listener.
    • addPropertyChangeListener

      public void addPropertyChangeListener(String name, PropertyChangeListener listener)
      Adds a property change listener for a named property.
      Parameters:
      name - The name of the property.
      listener - The property change listener.
    • removePropertyChangeListener

      public void removePropertyChangeListener(String name, PropertyChangeListener listener)
      Removes a property change listener for a named property.
      Parameters:
      name - The name of the property.
      listener - The property change listener.
    • main

      public static void main(String[] args)
      Test routine.
      Parameters:
      args - name of file or directory if supplied