A class for receiving events from a Label.
More...
#include <juce_Label.h>
A class for receiving events from a Label.
You can register a Label::Listener with a Label using the Label::addListener() method, and it will be called when the text of the label changes, either because of a call to Label::setText() or by the user editing the text (if the label is editable).
- See also
- Label::addListener, Label::removeListener
◆ ~Listener()
virtual Label::Listener::~Listener |
( |
| ) |
|
|
virtualdefault |
◆ labelTextChanged()
virtual void Label::Listener::labelTextChanged |
( |
Label * | labelThatHasChanged | ) |
|
|
pure virtual |
Called when a Label's text has changed.
◆ editorShown()
◆ editorHidden()
Called when a Label is about to delete its TextEditor and exit editing mode.
The documentation for this class was generated from the following file: