Class HandlerFactory
java.lang.Object
de.knightsoftnet.mtwidgets.client.ui.handler.HandlerFactory
Factory Class to get Handlers.
- Author:
- Manfred Tremmel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final com.google.gwt.event.dom.client.KeyPressHandlerget a currency key press handler.static final com.google.gwt.event.dom.client.KeyPressHandlerget a decimal key press handler.static final com.google.gwt.event.dom.client.KeyPressHandlerget a filter replace and format String key press handler.static final com.google.gwt.event.dom.client.KeyUpHandlerget a format key up handler.static final com.google.gwt.event.dom.client.KeyPressHandlerget a numeric and upper case key press handler.static final com.google.gwt.event.dom.client.KeyPressHandlerget a numeric key press handler.static final com.google.gwt.event.dom.client.KeyPressHandlerget a numeric with separators key press handler.static final com.google.gwt.event.dom.client.KeyPressHandlerget a percent key press handler.static final com.google.gwt.event.dom.client.KeyPressHandlerget a phone number key press handler.static final com.google.gwt.event.dom.client.KeyPressHandlergetPostalCodeKeyPressHandler(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.KeyPressHandlergetRegExKeyPressHandler(String regEx) get a key press handler which allows all characters which could match a reg ex.static final com.google.gwt.event.dom.client.KeyPressHandlergetTaxNumberKeyPressHandler(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.KeyPressHandlergetTinKeyPressHandler(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.KeyPressHandlerget a upper case key press handler.static final com.google.gwt.event.dom.client.KeyPressHandlergetVatIdKeyPressHandler(com.google.gwt.user.client.TakesValue<?> countryCodeField) get a key press handler which allows characters for vat id of a referenced country.
-
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
-