FreeHEP API
Version v1.2

org.freehep.swing
Class AllSupportedFileFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--org.freehep.swing.AllSupportedFileFilter

public class AllSupportedFileFilter
extends FileFilter

A FileFilter which accepts any file which is accepted by any of its vector of FileFilters.

Version:
$Id: AllSupportedFileFilter.java,v 1.1 2002/08/30 22:55:10 tonyj Exp $
Author:
Tony Johnson

Constructor Summary
AllSupportedFileFilter()
           
 
Method Summary
 boolean accept(File f)
           
 void add(FileFilter f)
           
 String getDescription()
           
 void remove(FileFilter f)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllSupportedFileFilter

public AllSupportedFileFilter()
Method Detail

add

public void add(FileFilter f)

remove

public void remove(FileFilter f)

reset

public void reset()

accept

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

getDescription

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

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.