public interface TextFieldInputCharSequenceFilter
Modifier and Type | Method and Description |
---|---|
boolean |
acceptInput(int index,
CharSequence newChars)
Check if the input of a new set of characters is acceptable.
|
boolean acceptInput(int index, CharSequence newChars)
index
- the position within the text where the character is addednewChars
- the characters that is now about to be added to the texttrue
in case adding the character is allowedCopyright © 2013. All Rights Reserved.