JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions
Value::Listener Class Reference

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

Inherited by Button, ComboBox, and Label [private].

List of all members.

Public Member Functions

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

Detailed Description

Receives callbacks when a Value object changes.

See also:
Value::addListener

Constructor & Destructor Documentation

virtual Value::Listener::~Listener ( ) [virtual]

Member Function Documentation

virtual void 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 Button, ComboBox, and Label.


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