Interface for deciding which files are suitable for something.
More...
Interface for deciding which files are suitable for something.
For example, this is used by DirectoryContentsList to select which files go into the list.
- See also
- WildcardFileFilter, DirectoryContentsList, FileListComponent, FileBrowserComponent
◆ FileFilter()
juce::FileFilter::FileFilter |
( |
const String & |
filterDescription | ) |
|
Creates a filter with the given description.
The description can be returned later with the getDescription() method.
◆ ~FileFilter()
virtual juce::FileFilter::~FileFilter |
( |
| ) |
|
|
virtual |
◆ getDescription()
const String& juce::FileFilter::getDescription |
( |
| ) |
const |
|
noexcept |
Returns the description that the filter was created with.
◆ isFileSuitable()
virtual bool juce::FileFilter::isFileSuitable |
( |
const File & |
file | ) |
const |
|
pure virtual |
◆ isDirectorySuitable()
virtual bool juce::FileFilter::isDirectorySuitable |
( |
const File & |
file | ) |
const |
|
pure virtual |
◆ description
String juce::FileFilter::description |
|
protected |
The documentation for this class was generated from the following file: