java.lang.Object
javax.swing.filechooser.FileFilter
com.paradoxpoint.libitina.util.ImageFilter
- All Implemented Interfaces:
- java.io.FileFilter
- Direct Known Subclasses:
- ImageDirFilter
- public class ImageFilter
- extends javax.swing.filechooser.FileFilter
- implements java.io.FileFilter
|
Method Summary |
boolean |
accept(java.io.File f)
This method determines whether or not a given pathname should be included
in a pathname listing. |
java.lang.String |
getDescription()
Returns a description of the files that will be selected by the filter
(for example, "Java source files"). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageFilter
public ImageFilter()
accept
public boolean accept(java.io.File f)
- Description copied from interface:
java.io.FileFilter
- This method determines whether or not a given pathname should be included
in a pathname listing.
- Specified by:
accept in interface java.io.FileFilter
getDescription
public java.lang.String getDescription()
- Description copied from class:
javax.swing.filechooser.FileFilter
- Returns a description of the files that will be selected by the filter
(for example, "Java source files"). This description will usually be
displayed on the javax.swing.JFileChooser component, often in a combo box that
is used to select the appropriate filter (in cases where more than one
filter is available).