com.approximatrix.charting.test
Class ImageFilter
java.lang.Object
javax.swing.filechooser.FileFilter
com.approximatrix.charting.test.ImageFilter
class ImageFilter
- extends javax.swing.filechooser.FileFilter
Simple file filter used in the sample test application GraphFrame for determinign
if a file format is supported
- Author:
- muller
|
Field Summary |
(package private) java.lang.StringBuffer |
descr
|
protected java.util.Set |
supported
|
|
Constructor Summary |
ImageFilter(java.lang.String[] accepted)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
supported
protected java.util.Set supported
descr
java.lang.StringBuffer descr
ImageFilter
public ImageFilter(java.lang.String[] accepted)
accept
public boolean accept(java.io.File f)
- Specified by:
accept in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in class javax.swing.filechooser.FileFilter