|
DODS 7.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileFilter
org.enhydra.dods.wizard.DomlFilter
public class DomlFilter
DomlFilter restricts file sets to only those files that are .doml files. Use this with JFileChooser to create a directory chooser.
Constructor Summary | |
---|---|
DomlFilter()
Create a DomlFilter for use with the FileChooser dialog. |
Method Summary | |
---|---|
boolean |
accept(java.io.File f)
Check to see if the passed file is a directory. |
java.lang.String |
getDescription()
Get a description of this filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomlFilter()
Method Detail |
---|
public boolean accept(java.io.File f)
accept
in class javax.swing.filechooser.FileFilter
f
- File to check.
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
|
DODS 7.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |