SRJRCFrames
v0.1.296

de.schwarzrot.ui.image
Class ImageFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by de.schwarzrot.ui.image.ImageFilter

public class ImageFilter
extends FileFilter

a filter component for JFileChooser to select image files only

Author:
Reinhard Mantey

Field Summary
static String EXT_BMP
           
static String EXT_GIF
           
static String EXT_JPEG
           
static String EXT_JPG
           
static String EXT_PNG
           
static String EXT_TIF
           
static String EXT_TIFF
           
 
Constructor Summary
ImageFilter()
           
 
Method Summary
 boolean accept(File aFile)
           
 String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXT_BMP

public static final String EXT_BMP
See Also:
Constant Field Values

EXT_TIFF

public static final String EXT_TIFF
See Also:
Constant Field Values

EXT_TIF

public static final String EXT_TIF
See Also:
Constant Field Values

EXT_GIF

public static final String EXT_GIF
See Also:
Constant Field Values

EXT_JPG

public static final String EXT_JPG
See Also:
Constant Field Values

EXT_JPEG

public static final String EXT_JPEG
See Also:
Constant Field Values

EXT_PNG

public static final String EXT_PNG
See Also:
Constant Field Values
Constructor Detail

ImageFilter

public ImageFilter()
Method Detail

accept

public boolean accept(File aFile)
Specified by:
accept in class FileFilter

getDescription

public String getDescription()
Specified by:
getDescription in class FileFilter

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.