tico.components.resources
Class ImageFilter
java.lang.Object
javax.swing.filechooser.FileFilter
tico.components.resources.ImageFilter
public class ImageFilter
- extends javax.swing.filechooser.FileFilter
Filter that can be set on a JFileChooser
to display only
image files (gif, png, jpg, tiff and bmp) and directories.
- Version:
- 1.0 Nov 20, 2006
- Author:
- Pablo Muñoz
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageFilter
public ImageFilter()
accept
public boolean accept(java.io.File f)
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter