ptolemy.plot
Class PlotFrame.EPSFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by ptolemy.plot.PlotFrame.EPSFileFilter
Enclosing class:
PlotFrame

static class PlotFrame.EPSFileFilter
extends javax.swing.filechooser.FileFilter

Display only .eps files


Constructor Summary
PlotFrame.EPSFileFilter()
           
 
Method Summary
 boolean accept(java.io.File fileOrDirectory)
          Accept only .eps files.
 java.lang.String getDescription()
          The description of this filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlotFrame.EPSFileFilter

PlotFrame.EPSFileFilter()
Method Detail

accept

public boolean accept(java.io.File fileOrDirectory)
Accept only .eps files.

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
fileOrDirectory - The file or directory to be checked.
Returns:
true if the file is a directory, a .eps file

getDescription

public java.lang.String getDescription()
The description of this filter

Specified by:
getDescription in class javax.swing.filechooser.FileFilter