com.quinncurtis.chart3djava
Class ImageFileChooser.ImageFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.quinncurtis.chart3djava.ImageFileChooser.ImageFilter
Enclosing class:
ImageFileChooser

public class ImageFileChooser.ImageFilter
extends javax.swing.filechooser.FileFilter

File filter class for image files


Constructor Summary
ImageFileChooser.ImageFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Accept all directories and all gif, jpg, or tiff files.
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFileChooser.ImageFilter

public ImageFileChooser.ImageFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Accept all directories and all gif, jpg, or tiff files.

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
f - file
Returns:
Returns true if file accepted.

getDescription

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