|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
csheets.ui.FileChooser.Filter
public static class FileChooser.Filter
A file filter for use in file choosers.
| Constructor Summary | |
|---|---|
FileChooser.Filter(FilenameFilter filter,
String description)
Creates a new filter, using the given filename filter to determine which files to accept. |
|
| Method Summary | |
|---|---|
boolean |
accept(File f)
|
String |
getDescription()
Returns the description of the filter |
FilenameFilter |
getFilter()
Returns the filename filter used to determine which files to accept. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileChooser.Filter(FilenameFilter filter,
String description)
filter - the filename filter used to determine which files to acceptdescription - the description of the filter| Method Detail |
|---|
public boolean accept(File f)
accept in class FileFilterpublic FilenameFilter getFilter()
public String getDescription()
getDescription in class FileFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||