cgl.narada.topology.viewer
Class ImageFilter
java.lang.Object
javax.swing.filechooser.FileFilter
cgl.narada.topology.viewer.ImageFilter
public class ImageFilter
- extends FileFilter
This class aids JFileChooser to filter png 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(File f)
- Accept all directories and all png files.
- Specified by:
accept in class FileFilter
- Parameters:
f - File
- Returns:
- a boolean, true if the file is .png file otherwise false.
getDescription
public String getDescription()
- Returns description of this filter.
- Specified by:
getDescription in class FileFilter
For comments and suggestions please send
e-mail to
The NaradaBrokering Project