Class AbstractPhoneNumberSuggestBox

    • Field Detail

      • countryCodeField

        protected com.google.gwt.user.client.TakesValue<?> countryCodeField
    • Constructor Detail

      • AbstractPhoneNumberSuggestBox

        protected AbstractPhoneNumberSuggestBox​(com.google.gwt.user.client.ui.SuggestOracle poracle)
        default constructor.
        Parameters:
        poracle - suggest oracle to use
    • Method Detail

      • setCountryCodeReferenceField

        public final void setCountryCodeReferenceField​(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)
        set reference to a field which contains the country code.
        Parameters:
        pcountryCodeField - field which contains the country code
      • isAllowedCharacter

        public boolean isAllowedCharacter​(char pcharacter)
        Description copied from interface: HasFormating
        check a character if it's allowed input value.
        Parameters:
        pcharacter - character to check
        Returns:
        true if character is allowed
      • isCharacterToReplace

        public boolean isCharacterToReplace​(char pcharacter)
        Description copied from interface: HasFormating
        check a character if it's character to replace.
        Parameters:
        pcharacter - character to check
        Returns:
        true if character has to be replaced
      • replaceCharacter

        public char replaceCharacter​(char pcharacter)
        Description copied from interface: HasFormating
        replace a character.
        Parameters:
        pcharacter - to replace
        Returns:
        replacement character