public class NumericAndUpperAsciiKeyPressHandler extends AbstractFilterAndReplaceKeyPressHandler
| Constructor and Description |
|---|
NumericAndUpperAsciiKeyPressHandler()
default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowedCharacter(char pcharacter)
check if character is allowed to type in unchanged.
|
boolean |
isCharacterToReplace(char pcharacter)
check if character is one which has to be replaced.
|
char |
replaceCharacter(char pcharacter)
replace character by another.
|
onKeyPresspublic NumericAndUpperAsciiKeyPressHandler()
public boolean isAllowedCharacter(char pcharacter)
AbstractFilterAndReplaceKeyPressHandlerisAllowedCharacter in class AbstractFilterAndReplaceKeyPressHandlerpcharacter - character to checkpublic boolean isCharacterToReplace(char pcharacter)
AbstractFilterAndReplaceKeyPressHandlerisCharacterToReplace in class AbstractFilterAndReplaceKeyPressHandlerpcharacter - character to checkpublic char replaceCharacter(char pcharacter)
AbstractFilterAndReplaceKeyPressHandlerreplaceCharacter in class AbstractFilterAndReplaceKeyPressHandlerpcharacter - character to replaceCopyright © 2015–2017. All rights reserved.