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 PatternFileFilterPatternFileFilter for CMA upper air filesstatic final PatternFileFilterPatternFileFilter for GEMPAK upper air filesstatic final PatternFileFilterPatternFileFilter for upper air netCDF filesprotected JTextFieldselected file input -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a property change listener.voidaddPropertyChangeListener(String name, PropertyChangeListener listener) Adds a property change listener for a named property.protected voidcheckNewFile(File selectedFile) Check the status of the file.Get the contents of this browser.Get the SoundingAdapter associated with this browserprotected PropertyGet the SoundingAdapter propertystatic voidTest routine.voidRemoves a property change listener.voidremovePropertyChangeListener(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
-