Class DirectoryFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
VASSAL.tools.filechooser.FileFilter
VASSAL.tools.filechooser.DirectoryFileFilter
- All Implemented Interfaces:
FilenameFilter
A FileFilter which accepts directories only.
- 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
-
DirectoryFileFilter
public DirectoryFileFilter()
-
-
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:
- A description of this filter to be displayed in the file chooser.
-