@Override public void formatValue(final ValueWithPos<String> pvalue) { formatValue(pvalue, false); }
/** * set formating. * * @param formating formating to use */ public final void setFormating(final HasFormating formating) { this.formating = formating; ((HasFormatingRenderer) getRenderer()).setFormatter(formating); ((HasFormatingParser) getParser()).setFormatter(formating); }
@Override public void reformatValue() { reformatValue(false); }
/** * default constructor. * * @param poracle suggest oracle to use */ public AbstractPhoneNumberSuggestBox(final SuggestOracle poracle) { super(poracle, new TextBoxWithFormating(Browser.getDocument().createInputElement(), "tel")); setWidth("15em"); phoneNumberUtil = new PhoneNumberUtil(); ((TextBoxWithFormating) getValueBox()).setFormating(this); }
super(poracle, new TextBoxWithFormating(Browser.getDocument().createInputElement(), "tel")); ((TextBoxWithFormating) getValueBox()).setFormating(this); callback = new AbstractSimpleRestCallback<AbstractPhoneNumberRestSuggestBox, ValueWithPos<String>, //
/** * default constructor. * * @param poracle suggest oracle to use */ public AbstractPhoneNumberSuggestBox(final SuggestOracle poracle) { super(poracle, new TextBoxWithFormating(Browser.getDocument().createInputElement(), "tel")); setWidth("15em"); phoneNumberUtil = new PhoneNumberUtil(); ((TextBoxWithFormating) getValueBox()).setFormating(this); }
super(poracle, new TextBoxWithFormating(Browser.getDocument().createInputElement(), "tel")); ((TextBoxWithFormating) getValueBox()).setFormating(this); service = ServiceFactory.getPhoneNumberService(); callback = new MethodCallback<ValueWithPos<String>>() {