JUCE  v5.1.1-3-g1a0b28c73
JUCE API
ComboBox::Listener Class Referenceabstract

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

#include <juce_ComboBox.h>

Inheritance diagram for ComboBox::Listener:

Public Member Functions

virtual ~Listener ()
 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 ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ comboBoxChanged()

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

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