Package ucar.unidata.view.sounding
Class SoundingFileBrowser
java.lang.Object
ucar.unidata.view.sounding.SoundingFileBrowser
- Direct Known Subclasses:
NetcdfFileBrowser
A browser for finding netCDF upper air files.
- Author:
- Unidata development team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PatternFileFilter
PatternFileFilter for CMA upper air filesstatic final PatternFileFilter
PatternFileFilter for GEMPAK upper air filesstatic final PatternFileFilter
PatternFileFilter for upper air netCDF filesprotected JTextField
selected file input -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a property change listener.void
addPropertyChangeListener
(String name, PropertyChangeListener listener) Adds a property change listener for a named property.protected void
checkNewFile
(File selectedFile) Check the status of the file.Get the contents of this browser.Get the SoundingAdapter associated with this browserprotected Property
Get the SoundingAdapter propertystatic void
Test routine.void
Removes a property change listener.void
removePropertyChangeListener
(String name, PropertyChangeListener listener) Removes a property change listener for a named property.
-
Field Details
-
FILTER_NC
PatternFileFilter for upper air netCDF files -
FILTER_CMA_UA
PatternFileFilter for CMA upper air files -
FILTER_GEM_UA
PatternFileFilter for GEMPAK upper air files -
selectedFileDisplay
selected file input
-
-
Method Details
-
checkNewFile
Check the status of the file.- Parameters:
selectedFile
- file to use for checking
-
getContents
Get the contents of this browser.- Returns:
- browser contents
-
getSoundingAdapterProperty
Get the SoundingAdapter property- Returns:
- the SoundingAdapter property
-
getSoundingAdapter
Get the SoundingAdapter associated with this browser- Returns:
- the associated SoundingAdapter
-
addPropertyChangeListener
Adds a property change listener.- Parameters:
listener
- The property change listener.
-
removePropertyChangeListener
Removes a property change listener.- Parameters:
listener
- The property change listener.
-
addPropertyChangeListener
Adds a property change listener for a named property.- Parameters:
name
- The name of the property.listener
- The property change listener.
-
removePropertyChangeListener
Removes a property change listener for a named property.- Parameters:
name
- The name of the property.listener
- The property change listener.
-
main
Test routine.- Parameters:
args
- name of file or directory if supplied
-