public class ImageFileFilter
extends javax.swing.filechooser.FileFilter
| Constructor and Description |
|---|
ImageFileFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File f)
Returns true or false to indicate acceptance of the file.
|
java.lang.String |
getDescription()
Returns the description that is displayed in the drop down type selector in the FileChooser prompt.
|
public boolean accept(java.io.File f)
accept in class javax.swing.filechooser.FileFilterf - The file to checkpublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilter