|
openshot-audio
0.1.5
|
#include <juce_gui_basics.h>
Public Member Functions | |
| LengthAndCharacterRestriction (int maxNumChars, const String &allowedCharacters) | |
Public Member Functions inherited from juce::TextEditor::InputFilter | |
| InputFilter () | |
| virtual | ~InputFilter () |
An input filter for a TextEditor that limits the length of text and/or the characters that it may contain.
| TextEditor::LengthAndCharacterRestriction::LengthAndCharacterRestriction | ( | int | maxNumChars, |
| 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. |
1.8.13