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

Receives callbacks when a Value object changes. More...

#include <juce_Value.h>

Inheritance diagram for juce::Value::Listener:

Public Member Functions

 Listener ()=default
 
virtual ~Listener ()=default
 
virtual void valueChanged (Value &value)=0
 Called when a Value object is changed. More...
 

Detailed Description

Receives callbacks when a Value object changes.

See also
Value::addListener

Constructor & Destructor Documentation

◆ Listener()

juce::Value::Listener::Listener ( )
default

◆ ~Listener()

virtual juce::Value::Listener::~Listener ( )
virtualdefault

Member Function Documentation

◆ valueChanged()

virtual void juce::Value::Listener::valueChanged ( Value value)
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 juce::StandaloneFilterWindow::MainContentComponent, juce::StandalonePluginHolder, juce::ComboBox, juce::Label, and juce::ValueTreePropertyWithDefault.


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