TextFieldInputFilterFilterAcceptAll, FilterAcceptDigits, FilterAcceptFloat, FilterAcceptLetters, FilterAcceptLowerCase, FilterAcceptNegativeDigits, FilterAcceptUpperCasepublic interface TextFieldInputCharFilter
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
acceptInput(int index,
char newChar) |
Check if the input of a new character is acceptable.
|
boolean acceptInput(int index,
char newChar)
index - the position within the text where the character is addednewChar - the character that is now about to be added to the texttrue in case adding the character is allowedCopyright © 2018. All rights reserved.