public class SoundingFileBrowser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PatternFileFilter |
FILTER_CMA_UA
PatternFileFilter for CMA upper air files
|
static PatternFileFilter |
FILTER_GEM_UA
PatternFileFilter for GEMPAK upper air files
|
static PatternFileFilter |
FILTER_NC
PatternFileFilter for upper air netCDF files
|
protected javax.swing.JTextField |
selectedFileDisplay
selected file input
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a property change listener.
|
void |
addPropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Adds a property change listener for a named property.
|
protected void |
checkNewFile(java.io.File selectedFile)
Check the status of the file.
|
javax.swing.JPanel |
getContents()
Get the contents of this browser.
|
SoundingAdapter |
getSoundingAdapter()
Get the SoundingAdapter associated with this browser
|
protected Property |
getSoundingAdapterProperty()
Get the SoundingAdapter property
|
static void |
main(java.lang.String[] args)
Test routine.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a property change listener.
|
void |
removePropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Removes a property change listener for a named property.
|
public static final PatternFileFilter FILTER_NC
public static final PatternFileFilter FILTER_CMA_UA
public static final PatternFileFilter FILTER_GEM_UA
protected javax.swing.JTextField selectedFileDisplay
protected void checkNewFile(java.io.File selectedFile)
selectedFile
- file to use for checkingpublic javax.swing.JPanel getContents()
protected Property getSoundingAdapterProperty()
public SoundingAdapter getSoundingAdapter()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The property change listener.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The property change listener.public void addPropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
name
- The name of the property.listener
- The property change listener.public void removePropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
name
- The name of the property.listener
- The property change listener.public static void main(java.lang.String[] args)
args
- name of file or directory if supplied