JUCE
Public Member Functions | List of all members
ComboBox::Listener Class Referenceabstract

A class for receiving events from a ComboBox. More...

Public Member Functions

virtual ~Listener ()=default
 Destructor. More...
 
virtual void comboBoxChanged (ComboBox *comboBoxThatHasChanged)=0
 Called when a ComboBox has its selected item changed. More...
 

Detailed Description

A class for receiving events from a ComboBox.

You can register a ComboBox::Listener with a ComboBox using the ComboBox::addListener() method, and it will be called when the selected item in the box changes.

See also
ComboBox::addListener, ComboBox::removeListener

Constructor & Destructor Documentation

◆ ~Listener()

virtual ComboBox::Listener::~Listener ( )
virtualdefault

Destructor.

Member Function Documentation

◆ comboBoxChanged()

virtual void ComboBox::Listener::comboBoxChanged ( ComboBox comboBoxThatHasChanged)
pure virtual

Called when a ComboBox has its selected item changed.


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