Base class for input filters that can be applied to a TextEditor to restrict the text that can be entered.
More...
#include <juce_TextEditor.h>
Base class for input filters that can be applied to a TextEditor to restrict the text that can be entered.
◆ InputFilter()
TextEditor::InputFilter::InputFilter |
( |
| ) |
|
|
inline |
◆ ~InputFilter()
virtual TextEditor::InputFilter::~InputFilter |
( |
| ) |
|
|
inlinevirtual |
◆ filterNewText()
This method is called whenever text is entered into the editor.
An implementation of this class should should check the input string, and return an edited version of it that should be used.
Implemented in TextEditor::LengthAndCharacterRestriction.
The documentation for this class was generated from the following file: