public class IsbnKeyPressHandler extends AbstractFilterReplaceAndFormatKeyPressHandler
| Constructor and Description |
|---|
IsbnKeyPressHandler()
default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
formatValue(String pvalue)
format value of the widget.
|
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.
|
boolean |
isFormatingCharacter(char pcharacter)
check if character is a formating character.
|
char |
replaceCharacter(char pcharacter)
replace character by another.
|
onKeyPresspublic boolean isAllowedCharacter(char pcharacter)
AbstractFilterReplaceAndFormatKeyPressHandlerisAllowedCharacter in class AbstractFilterReplaceAndFormatKeyPressHandlerpcharacter - character to checkpublic boolean isCharacterToReplace(char pcharacter)
AbstractFilterReplaceAndFormatKeyPressHandlerisCharacterToReplace in class AbstractFilterReplaceAndFormatKeyPressHandlerpcharacter - character to checkpublic boolean isFormatingCharacter(char pcharacter)
AbstractFilterReplaceAndFormatKeyPressHandlerisFormatingCharacter in class AbstractFilterReplaceAndFormatKeyPressHandlerpcharacter - character to checkpublic char replaceCharacter(char pcharacter)
AbstractFilterReplaceAndFormatKeyPressHandlerreplaceCharacter in class AbstractFilterReplaceAndFormatKeyPressHandlerpcharacter - character to replacepublic String formatValue(String pvalue)
AbstractFilterReplaceAndFormatKeyPressHandlerformatValue in class AbstractFilterReplaceAndFormatKeyPressHandlerpvalue - unformated valueCopyright © 2015. All rights reserved.