de.rico.editor.gui.filter
Class FilterImage

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by de.rico.editor.gui.filter.FilterImage

public class FilterImage
extends javax.swing.filechooser.FileFilter

A filter that accepts only certain image formats (jpg, png, bmp).

Author:
Frank Bruns

Constructor Summary
FilterImage()
           
 
Method Summary
 boolean accept(java.io.File file)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterImage

public FilterImage()
Method Detail

accept

public boolean accept(java.io.File file)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter