brain.gui.FileFilters
Class FileChooserModuleConfigFilter

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

public class FileChooserModuleConfigFilter
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
FileChooserModuleConfigFilter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileChooserModuleConfigFilter

public FileChooserModuleConfigFilter()
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