public class PhoneNumberCommonInternationalKeyUpHandler extends AbstractFormatKeyUpHandler
| Constructor and Description |
|---|
PhoneNumberCommonInternationalKeyUpHandler(com.google.gwt.user.client.ui.HasValue<?> pcountryCodeField)
constructor set reference to country code reference.
|
| Modifier and Type | Method and Description |
|---|---|
String |
formatValue(String pvalue)
format value of the widget.
|
boolean |
isFormatingCharacter(char pcharacter)
check if character is a formating character.
|
onKeyUppublic PhoneNumberCommonInternationalKeyUpHandler(com.google.gwt.user.client.ui.HasValue<?> pcountryCodeField)
pcountryCodeField - reference to country code fieldpublic boolean isFormatingCharacter(char pcharacter)
AbstractFormatKeyUpHandlerisFormatingCharacter in class AbstractFormatKeyUpHandlerpcharacter - character to checkpublic String formatValue(String pvalue)
AbstractFormatKeyUpHandlerformatValue in class AbstractFormatKeyUpHandlerpvalue - unformated valueCopyright © 2015. All rights reserved.