public class FilterAcceptAll extends Object implements TextFieldInputFilter
| Constructor and Description |
|---|
FilterAcceptAll() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptInput(int index,
char newChar)
Check if the input of a new character is acceptable.
|
boolean |
acceptInput(int index,
CharSequence newChars)
Check if the input of a new set of characters is acceptable.
|
public boolean acceptInput(int index,
char newChar)
TextFieldInputCharFilteracceptInput in interface TextFieldInputCharFilterindex - 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 allowedpublic boolean acceptInput(int index,
CharSequence newChars)
TextFieldInputCharSequenceFilteracceptInput in interface TextFieldInputCharSequenceFilterindex - 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.