tppt.util
Class ExpFileFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--tppt.util.ExpFileFilter

public class ExpFileFilter
extends javax.swing.filechooser.FileFilter

Experiment File Filter is used when the user chooses to open or save an experiment file. All experiment files have the extension 'exp'.

Version:
1.1 04/25/00
Author:
Helen Yi Ren
See Also:
DTFrame

Constructor Summary
ExpFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Accepts all directories and all .exp files

 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ExpFileFilter

public ExpFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Accepts all directories and all .exp files

Overrides:
accept in class javax.swing.filechooser.FileFilter
Returns:
true for directories or .exp files, false otherwise

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
the description of the Exp file filter