public abstract class AbstractPhoneNumberRestSuggestBox
extends de.knightsoftnet.mtwidgets.client.ui.widget.AbstractFormatingSuggestBox
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.user.client.rpc.AsyncCallback<de.knightsoftnet.validators.shared.data.ValueWithPos<String>> |
callback |
protected com.google.gwt.user.client.TakesValue<?> |
countryCodeField |
| Constructor and Description |
|---|
AbstractPhoneNumberRestSuggestBox(com.google.gwt.user.client.ui.SuggestOracle poracle)
default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
formatValue(de.knightsoftnet.validators.shared.data.ValueWithPos<String> pvalue) |
abstract void |
formatValue(de.knightsoftnet.validators.shared.data.ValueWithPosAndCountry<String> pkey,
de.knightsoftnet.validators.client.rest.helper.FutureResult<de.knightsoftnet.validators.shared.data.ValueWithPos<String>> presult) |
boolean |
isAllowedCharacter(char pcharacter) |
boolean |
isCharacterToReplace(char pcharacter) |
char |
replaceCharacter(char pcharacter) |
void |
setCountryCodeReferenceField(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)
set reference to a field which contains the country code.
|
onBrowserEvent, reformatValue, setTextWithPosaddBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addSelectionHandler, addValueChangeHandler, asEditor, checkValidity, editorErrorMatches, getTabIndex, getText, getValidationMessage, getValidationMessageElement, getValidity, getValue, getValueBox, isAnimationEnabled, isAutofocus, isEnabled, isRequired, setAccessKey, setAnimationEnabled, setAutofocus, setEnabled, setFocus, setRequired, setTabIndex, setText, setValidationMessageElement, setValue, setValue, showErrorsclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected final com.google.gwt.user.client.rpc.AsyncCallback<de.knightsoftnet.validators.shared.data.ValueWithPos<String>> callback
protected com.google.gwt.user.client.TakesValue<?> countryCodeField
public AbstractPhoneNumberRestSuggestBox(com.google.gwt.user.client.ui.SuggestOracle poracle)
public void formatValue(de.knightsoftnet.validators.shared.data.ValueWithPos<String> pvalue)
public abstract void formatValue(de.knightsoftnet.validators.shared.data.ValueWithPosAndCountry<String> pkey, de.knightsoftnet.validators.client.rest.helper.FutureResult<de.knightsoftnet.validators.shared.data.ValueWithPos<String>> presult) throws ExecutionException
ExecutionExceptionpublic final void setCountryCodeReferenceField(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)
pcountryCodeField - field which contains the country codepublic boolean isAllowedCharacter(char pcharacter)
public boolean isCharacterToReplace(char pcharacter)
public char replaceCharacter(char pcharacter)
Copyright © 2015–2017. All rights reserved.