Class PhoneNumberUriSuggestBox

All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllKeyHandlers, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasSelectionHandlers<com.google.gwt.user.client.ui.SuggestOracle.Suggestion>, com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.TakesValue<String>, com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasText, com.google.gwt.user.client.ui.HasValue<String>, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, HasAutocomplete, HasAutofocus, HasCountryCodeReference, HasFormating, HasPlaceholder, HasRequired, HasValidationMessageElement<String,org.gwtproject.editor.client.LeafValueEditor<String>>, HasValidity, org.gwtproject.editor.client.Editor<String>, org.gwtproject.editor.client.HasEditorErrors<String>, org.gwtproject.editor.client.IsEditor<org.gwtproject.editor.client.LeafValueEditor<String>>, org.gwtproject.editor.client.TakesValue<String>

public class PhoneNumberUriSuggestBox extends AbstractPhoneNumberSuggestBox
phone number URI suggest widget.
Author:
Manfred Tremmel
  • Constructor Details

    • PhoneNumberUriSuggestBox

      public PhoneNumberUriSuggestBox()
      default constructor.
  • Method Details

    • isFormatingCharacter

      public boolean isFormatingCharacter(char character)
      Description copied from interface: HasFormating
      check a character if it's formating character.
      Parameters:
      character - character to check
      Returns:
      true if character is a formating character
    • formatWithPos

      public de.knightsoftnet.validators.shared.data.ValueWithPos<String> formatWithPos(de.knightsoftnet.validators.shared.data.ValueWithPos<String> value, String countryCode)
      Description copied from class: AbstractPhoneNumberSuggestBox
      format phone number with position.
      Specified by:
      formatWithPos in class AbstractPhoneNumberSuggestBox
      Parameters:
      value - the value with position to format
      countryCode - code of default country
      Returns:
      formated value with position
    • format

      public String format(String value, String countryCode)
      Description copied from class: AbstractPhoneNumberSuggestBox
      format phone number as string.
      Specified by:
      format in class AbstractPhoneNumberSuggestBox
      Parameters:
      value - phone number to format
      countryCode - code of default country
      Returns:
      formated phone number