Class s2iMain.sppFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--s2iMain.sppFilter

class s2iMain.sppFilter
extends javax.swing.filechooser.FileFilter

A FileFilter class for choosing SpiTran project files in a JFileChooser


Constructor Summary
(package private) s2iMain.sppFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Determine if a file entry should be shown in a JFileChooser.
 java.lang.String getDescription()
          Get the description String for SpiTran project files in a JFileChooser
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

s2iMain.sppFilter

s2iMain.sppFilter()
Method Detail

getDescription

public java.lang.String getDescription()
Get the description String for SpiTran project files in a JFileChooser
Overrides:
getDescription in class javax.swing.filechooser.FileFilter

accept

public boolean accept(java.io.File f)
Determine if a file entry should be shown in a JFileChooser. Only SpiTran Project Files and directories are shown.
Parameters:
f - The file to accept or reject
Returns:
true if the file should be shown
Overrides:
accept in class javax.swing.filechooser.FileFilter