/** * 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); }
/** * 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); }