|
DODS 7.2 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.DirectoryFilter
public class DirectoryFilter
DirectoryFilter restricts file sets to only those files that are directories. Use this with JFileChooser to create a directory chooser.
Constructor Summary | |
---|---|
DirectoryFilter()
Create a DirectoryFilter 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 DirectoryFilter()
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.2 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |