de.unihalle.informatik.MiToBo.io.tools
Class ImageFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by de.unihalle.informatik.MiToBo.io.tools.ImageFilter
All Implemented Interfaces:
FileFilter

public class ImageFilter
extends FileFilter
implements FileFilter

Class to filter the files by a file chooser. Only images of the types below are allowed.

Author:
misiak

Field Summary
protected  String[] extensions
           
 
Constructor Summary
ImageFilter()
           
ImageFilter(String[] extensionlist)
           
 
Method Summary
 boolean accept(File f)
           
 boolean acceptStacks(File f)
           
 String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensions

protected String[] extensions
Constructor Detail

ImageFilter

public ImageFilter()

ImageFilter

public ImageFilter(String[] extensionlist)
Method Detail

accept

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

acceptStacks

public boolean acceptStacks(File f)

getDescription

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


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.