|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Receives change event callbacks that are sent out by a ChangeBroadcaster. More...
#include "juce_ChangeListener.h"
Public Member Functions | |
| virtual | ~ChangeListener ()=default |
| Destructor. | |
| virtual void | changeListenerCallback (ChangeBroadcaster *source)=0 |
| Your subclass should implement this method to receive the callback. | |
Receives change event callbacks that are sent out by a ChangeBroadcaster.
A ChangeBroadcaster keeps a set of listeners to which it broadcasts a message when the ChangeBroadcaster::sendChangeMessage() method is called. A subclass of ChangeListener is used to receive these callbacks.
Note that the major difference between an ActionListener and a ChangeListener is that for a ChangeListener, multiple changes will be coalesced into fewer callbacks, but ActionListeners perform one callback for every event posted.
@tags{Events}
Definition at line 44 of file juce_ChangeListener.h.
|
pure virtual |
Your subclass should implement this method to receive the callback.
| source | the ChangeBroadcaster that triggered the callback. |
Implemented in juce::AudioDeviceSettingsPanel, and juce::KeyMappingEditorComponent::TopLevelItem.