public abstract class AbstractPhoneNumberRestSuggestBox extends AbstractFormatingSuggestBox implements de.knightsoftnet.gwtp.spring.client.rest.helper.HasShowMessage
| 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,
de.knightsoftnet.gwtp.spring.client.session.Session psession)
default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
formatValue(de.knightsoftnet.validators.shared.data.ValueWithPos<String> pvalue,
boolean fireEvents) |
abstract void |
formatValue(de.knightsoftnet.gwtp.spring.shared.data.ValueWithPosAndCountry<String> pkey,
de.knightsoftnet.gwtp.spring.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.
|
void |
showMessage(String pmessage) |
formatValue, onBrowserEvent, reformatValue, reformatValue, setTextWithPosaddBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addSelectionHandler, addValueChangeHandler, asEditor, checkValidity, editorErrorMatches, getPlaceholder, getTabIndex, getText, getValidationMessage, getValidationMessageElement, getValidity, getValue, getValueBox, isAnimationEnabled, isAutofocus, isEnabled, isRequired, setAccessKey, setAnimationEnabled, setAutofocus, setEnabled, setFocus, setPlaceholder, 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, waitformatValueSynchron, isFormatingCharacterprotected 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,
de.knightsoftnet.gwtp.spring.client.session.Session psession)
public void formatValue(de.knightsoftnet.validators.shared.data.ValueWithPos<String> pvalue, boolean fireEvents)
formatValue in interface HasFormatingpublic abstract void formatValue(de.knightsoftnet.gwtp.spring.shared.data.ValueWithPosAndCountry<String> pkey, de.knightsoftnet.gwtp.spring.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)
isAllowedCharacter in interface HasFormatingpublic boolean isCharacterToReplace(char pcharacter)
isCharacterToReplace in interface HasFormatingpublic char replaceCharacter(char pcharacter)
replaceCharacter in interface HasFormatingpublic void showMessage(String pmessage)
showMessage in interface de.knightsoftnet.gwtp.spring.client.rest.helper.HasShowMessageCopyright © 2015–2018. All rights reserved.