|LengthAndCharacterRestriction (int maxNumChars, const String &allowedCharacters)|
|Creates a filter that limits the length of text, and/or the characters that it can contain. More...|
|String||filterNewText (TextEditor &, const String &) override|
|This method is called whenever text is entered into the editor. More...|
|Public Member Functions inherited from TextEditor::InputFilter|
An input filter for a TextEditor that limits the length of text and/or the characters that it may contain.
Constructor & Destructor Documentation
|const String &||allowedCharacters|
Creates a filter that limits the length of text, and/or the characters that it can contain.
maxNumChars if this is > 0, it sets a maximum length limit; if <= 0, no limit is set allowedCharacters if this is non-empty, then only characters that occur in this string are allowed to be entered into the editor.
Member Function Documentation
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.
The documentation for this class was generated from the following file:
Generated on Fri Jan 12 2018 09:51:23 for JUCE by 1.8.13