openshot-audio  0.1.2
Public Member Functions | List of all members
juce::Value::Listener Class Referenceabstract

#include <juce_data_structures.h>

Inheritance diagram for juce::Value::Listener:
juce::Button::CallbackHelper juce::ChoicePropertyComponent::RemapperValueSource juce::ComboBox juce::Label juce::Slider::Pimpl juce::TextEditor::TextHolderComponent juce::LookAndFeel_V2::SliderLabelComp juce::TextPropertyComponent::LabelComp

Public Member Functions

 Listener ()
 
virtual ~Listener ()
 
virtual void valueChanged (Value &value)=0
 

Detailed Description

Receives callbacks when a Value object changes.

See also
Value::addListener

Constructor & Destructor Documentation

◆ Listener()

juce::Value::Listener::Listener ( )
inline

◆ ~Listener()

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

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::TextEditor::TextHolderComponent, juce::ComboBox, juce::Slider::Pimpl, juce::Label, juce::ChoicePropertyComponent::RemapperValueSource, and juce::Button::CallbackHelper.


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