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 juce::Label::Listener::~Listener |
( |
| ) |
|
|
virtualdefault |
◆ editorHidden()
virtual void juce::Label::Listener::editorHidden |
( |
Label * |
, |
|
|
TextEditor & |
|
|
) |
| |
|
inlinevirtual |
Called when a Label is about to delete its TextEditor and exit editing mode.
◆ editorShown()
◆ labelTextChanged()
virtual void juce::Label::Listener::labelTextChanged |
( |
Label * |
labelThatHasChanged | ) |
|
|
pure virtual |
Called when a Label's text has changed.
The documentation for this class was generated from the following file: