brain.gui.FileFilters
Class FileChooserSerializedObjectFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by brain.gui.FileFilters.FileChooserSerializedObjectFileFilter

public class FileChooserSerializedObjectFileFilter
extends javax.swing.filechooser.FileFilter

This class helps to filter the parameter file types in the file chooser dialog used to load and save module configurations.


Constructor Summary
FileChooserSerializedObjectFileFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
          Whether the given file is accepted by this filter.
 java.lang.String getDescription()
          The description of this filter.
static java.lang.String getPostfix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileChooserSerializedObjectFileFilter

public FileChooserSerializedObjectFileFilter()
Method Detail

accept

public boolean accept(java.io.File file)
Whether the given file is accepted by this filter.

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

getDescription

public java.lang.String getDescription()
The description of this filter. For example: "JPG and GIF Images"

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

getPostfix

public static java.lang.String getPostfix()