Class HandlerFactory


  • public class HandlerFactory
    extends Object
    Factory Class to get Handlers.
    Author:
    Manfred Tremmel
    • Constructor Detail

      • HandlerFactory

        public HandlerFactory()
    • Method Detail

      • getUpperAsciiKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getUpperAsciiKeyPressHandler()
        get a upper case key press handler.
        Returns:
        UpperAsciiKeyPressHandler
      • getNumericAndUpperAsciiKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getNumericAndUpperAsciiKeyPressHandler()
        get a numeric and upper case key press handler.
        Returns:
        NumericAndUpperAsciiKeyPressHandler
      • getNumericKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getNumericKeyPressHandler()
        get a numeric key press handler.
        Returns:
        NumericKeyPressHandler
      • getNumericWithSeparatorsKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getNumericWithSeparatorsKeyPressHandler()
        get a numeric with separators key press handler.
        Returns:
        NumericWithSeparatorsKeyPressHandler
      • getCurrencyKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getCurrencyKeyPressHandler()
        get a currency key press handler.
        Returns:
        CurrencyKeyPressHandler
      • getPercentKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getPercentKeyPressHandler()
        get a percent key press handler.
        Returns:
        PercentKeyPressHandler
      • getPhoneNumberKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getPhoneNumberKeyPressHandler()
        get a phone number key press handler.
        Returns:
        PhoneNumberKeyPressHandler
      • getDecimalKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getDecimalKeyPressHandler()
        get a decimal key press handler.
        Returns:
        DecimalKeyPressHandler
      • getRegExKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getRegExKeyPressHandler​(String pregEx)
        get a key press handler which allows all characters which could match a reg ex.
        Parameters:
        pregEx - to check
        Returns:
        key press handler
      • getPostalCodeKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getPostalCodeKeyPressHandler​(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)
        get a key press handler which allows characters for postal codes of a referenced country.
        Parameters:
        pcountryCodeField - reference to country code field
        Returns:
        key press handler
      • getFilterReplAndFormatStrKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getFilterReplAndFormatStrKeyPressHandler()
        get a filter replace and format String key press handler.
        Returns:
        FilterReplaceAndFormatKeyPressHandler<String>
      • getFormatStrKeyUpHandler

        public static final com.google.gwt.event.dom.client.KeyUpHandler getFormatStrKeyUpHandler()
        get a format key up handler.
        Returns:
        FormatKeyUpHandler<String>
      • getTaxNumberKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getTaxNumberKeyPressHandler​(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)
        get a key press handler which allows characters for tax number of a referenced country.
        Parameters:
        pcountryCodeField - reference to country code field
        Returns:
        key press handler
      • getTinKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getTinKeyPressHandler​(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)
        get a key press handler which allows characters for tin of a referenced country.
        Parameters:
        pcountryCodeField - reference to country code field
        Returns:
        key press handler
      • getVatIdKeyPressHandler

        public static final com.google.gwt.event.dom.client.KeyPressHandler getVatIdKeyPressHandler​(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)
        get a key press handler which allows characters for vat id of a referenced country.
        Parameters:
        pcountryCodeField - reference to country code field
        Returns:
        key press handler