Package VASSAL.tools.filechooser
Class ExtensionFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
VASSAL.tools.filechooser.FileFilter
VASSAL.tools.filechooser.ExtensionFileFilter
- All Implemented Interfaces:
FilenameFilter
- Direct Known Subclasses:
ADC2ModuleFileFilter
,AudioFileFilter
,BMPFileFilter
,ImageFileFilter
,LogAndSaveFileFilter
,LogFileFilter
,MapBoardFileFilter
,ModuleExtensionFileFilter
,ModuleFileFilter
,PNGFileFilter
,SymbolSetFileFilter
A generic by-extension FileFilter.
- Author:
- Joel Uckelman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The accept test used by Swing file choosers.Methods inherited from class VASSAL.tools.filechooser.FileFilter
accept
-
Constructor Details
-
ExtensionFileFilter
-
-
Method Details
-
accept
Description copied from class:FileFilter
The accept test used by Swing file choosers.- Specified by:
accept
in classFileFilter
- Returns:
- Whether the given file is accepted by this filter.
-
getDescription
- Specified by:
getDescription
in classFileFilter
- Returns:
- The description of this filter.
-