JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::FileBrowserListener Class Referenceabstract

A listener for user selection events in a file browser. More...

#include <juce_FileBrowserListener.h>

Inheritance diagram for juce::FileBrowserListener:

Public Member Functions

virtual ~FileBrowserListener ()
 Destructor. More...
 
virtual void browserRootChanged (const File &newRoot)=0
 Callback when the browser's root folder changes. More...
 
virtual void fileClicked (const File &file, const MouseEvent &e)=0
 Callback when the user clicks on a file in the browser. More...
 
virtual void fileDoubleClicked (const File &file)=0
 Callback when the user double-clicks on a file in the browser. More...
 
virtual void selectionChanged ()=0
 Callback when the user selects a different file in the browser. More...
 

Detailed Description

A listener for user selection events in a file browser.

This is used by a FileBrowserComponent or FileListComponent.

@tags{GUI}

Constructor & Destructor Documentation

◆ ~FileBrowserListener()

virtual juce::FileBrowserListener::~FileBrowserListener ( )
virtual

Destructor.

Member Function Documentation

◆ browserRootChanged()

virtual void juce::FileBrowserListener::browserRootChanged ( const File newRoot)
pure virtual

Callback when the browser's root folder changes.

Implemented in juce::FileBrowserComponent, and juce::FileChooserDialogBox.

◆ fileClicked()

virtual void juce::FileBrowserListener::fileClicked ( const File file,
const MouseEvent e 
)
pure virtual

Callback when the user clicks on a file in the browser.

Implemented in juce::FileBrowserComponent, and juce::FileChooserDialogBox.

◆ fileDoubleClicked()

virtual void juce::FileBrowserListener::fileDoubleClicked ( const File file)
pure virtual

Callback when the user double-clicks on a file in the browser.

Implemented in juce::FileBrowserComponent, and juce::FileChooserDialogBox.

◆ selectionChanged()

virtual void juce::FileBrowserListener::selectionChanged ( )
pure virtual

Callback when the user selects a different file in the browser.

Implemented in juce::FileBrowserComponent, and juce::FileChooserDialogBox.


The documentation for this class was generated from the following file: