|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter visad.util.FormFileFilter
public class FormFileFilter
A file filter based on a file form adapter's isThisType(String) method, for use with a JFileChooser.
Constructor Summary | |
---|---|
FormFileFilter(FormFileInformer form,
String description)
Constructs a new filter that accepts the given extension. |
Method Summary | |
---|---|
boolean |
accept(File f)
Accepts files with the proper extensions. |
int |
compareTo(Object o)
Compares two FileFilter objects alphanumerically. |
String |
getDescription()
return the filter's description |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormFileFilter(FormFileInformer form, String description)
Method Detail |
---|
public boolean accept(File f)
accept
in interface FileFilter
accept
in class FileFilter
public String getDescription()
getDescription
in class FileFilter
public int compareTo(Object o)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |