|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wisc.ssec.mcidasv.chooser.SoundingFileBrowser
public class SoundingFileBrowser
A browser for finding netCDF upper air files.
Field Summary | |
---|---|
private JPanel |
contents
frame contents |
static PatternFileFilter |
FILTER_CMA_UA
PatternFileFilter for CMA upper air files |
static PatternFileFilter |
FILTER_NC
PatternFileFilter for upper air netCDF files |
private static JFrame |
frame
frame for the browse |
private boolean |
ignoreChangingFile
flag for file changes |
private PropertySet |
propertySet
property set |
protected JTextField |
selectedFileDisplay
selected file input |
private Property |
soundingAdapterProperty
property for the sounding adapter |
Constructor Summary | |
---|---|
SoundingFileBrowser()
Construct an object for selecting sounding files starting at the current directory |
|
SoundingFileBrowser(String directoryName)
Construct an object for selecting sounding files starting at the specified directory. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
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. |
private JButton |
fileSelectionButton()
Create a file selection button |
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(String[] args)
Test routine. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener. |
void |
removePropertyChangeListener(String name,
PropertyChangeListener listener)
Removes a property change listener for a named property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PatternFileFilter FILTER_NC
public static final PatternFileFilter FILTER_CMA_UA
private Property soundingAdapterProperty
private PropertySet propertySet
protected JTextField selectedFileDisplay
private boolean ignoreChangingFile
private static JFrame frame
private JPanel contents
Constructor Detail |
---|
SoundingFileBrowser()
SoundingFileBrowser(String directoryName)
directoryName
- starting directory to search for files.Method Detail |
---|
private JButton fileSelectionButton()
protected void checkNewFile(File selectedFile)
selectedFile
- file to use for checkingpublic JPanel getContents()
protected Property getSoundingAdapterProperty()
public SoundingAdapter getSoundingAdapter()
public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- The property change listener.public void removePropertyChangeListener(PropertyChangeListener listener)
listener
- The property change listener.public void addPropertyChangeListener(String name, PropertyChangeListener listener)
name
- The name of the property.listener
- The property change listener.public void removePropertyChangeListener(String name, PropertyChangeListener listener)
name
- The name of the property.listener
- The property change listener.public static void main(String[] args)
args
- name of file or directory if supplied
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |