ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.gui
Class ImageFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.ehsbe.commons.gui.ImageFileFilter

public class ImageFileFilter
extends FileFilter

An image file filter.

Version:
$Revision: 432 $
Author:
Jens Elkner

Constructor Summary
ImageFileFilter(ImageFileView ifv)
          Default constructor
 
Method Summary
 boolean accept(File f)
          
 String getDescription()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFileFilter

public ImageFileFilter(ImageFileView ifv)
Default constructor

Parameters:
ifv - the filter, which provides file descriptions
Method Detail

accept

public boolean accept(File f)

Specified by:
accept in class FileFilter

getDescription

public String getDescription()

Specified by:
getDescription in class FileFilter

ehsbe CommonsTM
Version 1.1.0rc3

Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.