edu.northwestern.at.utils.swing
Class FileDialogs.FilterWrapper

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by edu.northwestern.at.utils.swing.FileDialogs.FilterWrapper
Enclosing class:
FileDialogs

protected static class FileDialogs.FilterWrapper
extends javax.swing.filechooser.FileFilter

Class to wrap a file filter.


Field Summary
 ExtendedFileNameFilter filter
           
 
Constructor Summary
FileDialogs.FilterWrapper(ExtendedFileNameFilter filter)
           
 
Method Summary
 boolean accept(java.io.File file)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

public ExtendedFileNameFilter filter
Constructor Detail

FileDialogs.FilterWrapper

public FileDialogs.FilterWrapper(ExtendedFileNameFilter filter)
Method Detail

accept

public boolean accept(java.io.File file)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter