Class HandlerFactory

java.lang.Object
de.knightsoftnet.mtwidgets.client.ui.handler.HandlerFactory

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a currency key press handler.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a decimal key press handler.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a filter replace and format String key press handler.
    static final com.google.gwt.event.dom.client.KeyUpHandler
    get a format key up handler.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a numeric and upper case key press handler.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a numeric key press handler.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a numeric with separators key press handler.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a percent key press handler.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a phone number key press handler.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    getPostalCodeKeyPressHandler(com.google.gwt.user.client.TakesValue<?> countryCodeField)
    get a key press handler which allows characters for postal codes of a referenced country.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a key press handler which allows all characters which could match a reg ex.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    getTaxNumberKeyPressHandler(com.google.gwt.user.client.TakesValue<?> countryCodeField)
    get a key press handler which allows characters for tax number of a referenced country.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    getTinKeyPressHandler(com.google.gwt.user.client.TakesValue<?> countryCodeField)
    get a key press handler which allows characters for tin of a referenced country.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    get a upper case key press handler.
    static final com.google.gwt.event.dom.client.KeyPressHandler
    getVatIdKeyPressHandler(com.google.gwt.user.client.TakesValue<?> countryCodeField)
    get a key press handler which allows characters for vat id of a referenced country.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HandlerFactory

      public HandlerFactory()
  • Method Details

    • 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 regEx)
      get a key press handler which allows all characters which could match a reg ex.
      Parameters:
      regEx - to check
      Returns:
      key press handler
    • getPostalCodeKeyPressHandler

      public static final com.google.gwt.event.dom.client.KeyPressHandler getPostalCodeKeyPressHandler(com.google.gwt.user.client.TakesValue<?> countryCodeField)
      get a key press handler which allows characters for postal codes of a referenced country.
      Parameters:
      countryCodeField - 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<?> countryCodeField)
      get a key press handler which allows characters for tax number of a referenced country.
      Parameters:
      countryCodeField - 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<?> countryCodeField)
      get a key press handler which allows characters for tin of a referenced country.
      Parameters:
      countryCodeField - 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<?> countryCodeField)
      get a key press handler which allows characters for vat id of a referenced country.
      Parameters:
      countryCodeField - reference to country code field
      Returns:
      key press handler