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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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:FileFilterThe accept test used by Swing file choosers.- Specified by:
acceptin classFileFilter- Returns:
- Whether the given file is accepted by this filter.
-
getDescription
- Specified by:
getDescriptionin classFileFilter- Returns:
- A description of this filter to be displayed in the file chooser.
-