ptolemy.actor.gui
Class PlotTableauFrame.EPSFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by ptolemy.actor.gui.PlotTableauFrame.EPSFileFilter
Enclosing class:
PlotTableauFrame

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

Display only .eps files.


Constructor Summary
PlotTableauFrame.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

PlotTableauFrame.EPSFileFilter

PlotTableauFrame.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 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