Ptah
Class ImageFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--Ptah.ImageFilter

public class ImageFilter
extends javax.swing.filechooser.FileFilter

Ptah Image filter.

Based on Sun tutorial. See Using Swing Components: Examples.

Copyright (c) 2000-2001 Alexis Grandemange

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; version 2
 of the License.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 

I included a copy of the GNU Lesser General Public License lesser.txt in this directory.

alexis.grandemange@pagebox.net

Version:
0, 0, 1
Author:
Alexis Grandemange

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

Constructor Detail

ImageFilter

public ImageFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Accept all directories and all gif, jpg, or tiff files.
Overrides:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
The description of this filter
Overrides:
getDescription in class javax.swing.filechooser.FileFilter