brain.gui.FileFilters
Class SerializedObjectFileFilter

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

public class SerializedObjectFileFilter
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
SerializedObjectFileFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
          Whether the given file is accepted by this filter.
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializedObjectFileFilter

public SerializedObjectFileFilter()
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()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter