Class PostalCodeKeyPressHandler
- java.lang.Object
-
- de.knightsoftnet.mtwidgets.client.ui.handler.AbstractFilterAndReplaceKeyPressHandler
-
- de.knightsoftnet.mtwidgets.client.ui.handler.SimpleFilterAndReplaceKeyPressHandler
-
- de.knightsoftnet.mtwidgets.client.ui.handler.PostalCodeKeyPressHandler
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.KeyPressHandler,com.google.gwt.event.shared.EventHandler
public class PostalCodeKeyPressHandler extends SimpleFilterAndReplaceKeyPressHandler
KeyPress Handler which allows the input of characters which are part of matching string.- Author:
- Manfred Tremmel
-
-
Constructor Summary
Constructors Constructor Description PostalCodeKeyPressHandler(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)constructor initializing reverence to country code field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAllowedCharacter(char pcharacter)check if character is allowed to type in unchanged.-
Methods inherited from class de.knightsoftnet.mtwidgets.client.ui.handler.SimpleFilterAndReplaceKeyPressHandler
getAllowedCharacters, isCharacterToReplace, replaceCharacter, setAllowedCharacters, setAllowedCharacters
-
Methods inherited from class de.knightsoftnet.mtwidgets.client.ui.handler.AbstractFilterAndReplaceKeyPressHandler
onKeyPress
-
-
-
-
Method Detail
-
isAllowedCharacter
public boolean isAllowedCharacter(char pcharacter)
Description copied from class:AbstractFilterAndReplaceKeyPressHandlercheck if character is allowed to type in unchanged.- Overrides:
isAllowedCharacterin classSimpleFilterAndReplaceKeyPressHandler- Parameters:
pcharacter- character to check- Returns:
- true if it's allowed
-
-