TextFieldInputCharFilterpublic class FilterAcceptNegativeDigits extends java.lang.Object implements TextFieldInputCharFilter
| Constructor | Description |
|---|---|
FilterAcceptNegativeDigits() |
The default constructor needed to fetch the locale dependant values.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
acceptInput(int index,
char newChar) |
Check if the input of a new character is acceptable.
|
public FilterAcceptNegativeDigits()
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 allowedCopyright © 2018. All rights reserved.