Receives callbacks when a Value object changes. More...
#include <juce_Value.h>
Public Member Functions | |
Listener ()=default | |
virtual | ~Listener ()=default |
virtual void | valueChanged (Value &value)=0 |
Called when a Value object is changed. | |
Receives callbacks when a Value object changes.
|
default |
|
virtualdefault |
|
pure virtual |
Called when a Value object is changed.
Note that the Value object passed as a parameter may not be exactly the same object that you registered the listener with - it might be a copy that refers to the same underlying ValueSource. To find out, you can call Value::refersToSameSourceAs().
Implemented in ComboBox, Label, and StandalonePluginHolder.