#include <juce_DirectoryContentsDisplayComponent.h>
A base class for components that display a list of the files in a directory.
- See also
- DirectoryContentsList
@tags{GUI}
◆ ColourIds
| enum juce::DirectoryContentsDisplayComponent::ColourIds |
A set of colour IDs to use to change the colour of various aspects of the list.
These constants can be used either via the Component::setColour(), or LookAndFeel::setColour() methods.
- See also
- Component::setColour, Component::findColour, LookAndFeel::setColour, LookAndFeel::findColour
| Enumerator |
|---|
| highlightColourId | The colour to use to fill a highlighted row of the list.
|
| textColourId | The colour for the text.
|
| highlightedTextColourId | The colour with which to draw the text in highlighted sections.
|
◆ DirectoryContentsDisplayComponent()
| juce::DirectoryContentsDisplayComponent::DirectoryContentsDisplayComponent |
( |
DirectoryContentsList & | listToShow | ) |
|
◆ ~DirectoryContentsDisplayComponent()
| juce::DirectoryContentsDisplayComponent::~DirectoryContentsDisplayComponent |
( |
| ) |
|
|
virtual |
◆ addListener()
Adds a listener to be told when files are selected or clicked.
- See also
- removeListener
◆ deselectAllFiles()
| virtual void juce::DirectoryContentsDisplayComponent::deselectAllFiles |
( |
| ) |
|
|
pure virtual |
◆ getNumSelectedFiles()
| virtual int juce::DirectoryContentsDisplayComponent::getNumSelectedFiles |
( |
| ) |
const |
|
pure virtual |
◆ getSelectedFile()
| virtual File juce::DirectoryContentsDisplayComponent::getSelectedFile |
( |
int | index | ) |
const |
|
pure virtual |
◆ removeListener()
Removes a listener.
- See also
- addListener
◆ scrollToTop()
| virtual void juce::DirectoryContentsDisplayComponent::scrollToTop |
( |
| ) |
|
|
pure virtual |
◆ sendDoubleClickMessage()
| void juce::DirectoryContentsDisplayComponent::sendDoubleClickMessage |
( |
const File & | file | ) |
|
◆ sendMouseClickMessage()
◆ sendSelectionChangeMessage()
| void juce::DirectoryContentsDisplayComponent::sendSelectionChangeMessage |
( |
| ) |
|
◆ setSelectedFile()
| virtual void juce::DirectoryContentsDisplayComponent::setSelectedFile |
( |
const File & | | ) |
|
|
pure virtual |
◆ directoryContentsList
The list that this component is displaying
◆ listeners
The documentation for this class was generated from the following files: