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 HandlerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.gwt.event.dom.client.KeyPressHandlergetCurrencyKeyPressHandler()get a currency key press handler.static com.google.gwt.event.dom.client.KeyPressHandlergetDecimalKeyPressHandler()get a decimal key press handler.static com.google.gwt.event.dom.client.KeyPressHandlergetFilterReplAndFormatStrKeyPressHandler()get a filter replace and format String key press handler.static com.google.gwt.event.dom.client.KeyUpHandlergetFormatStrKeyUpHandler()get a format key up handler.static com.google.gwt.event.dom.client.KeyPressHandlergetNumericAndUpperAsciiKeyPressHandler()get a numeric and upper case key press handler.static com.google.gwt.event.dom.client.KeyPressHandlergetNumericKeyPressHandler()get a numeric key press handler.static com.google.gwt.event.dom.client.KeyPressHandlergetNumericWithSeparatorsKeyPressHandler()get a numeric with separators key press handler.static com.google.gwt.event.dom.client.KeyPressHandlergetPercentKeyPressHandler()get a percent key press handler.static com.google.gwt.event.dom.client.KeyPressHandlergetPhoneNumberKeyPressHandler()get a phone number key press handler.static com.google.gwt.event.dom.client.KeyPressHandlergetPostalCodeKeyPressHandler(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)get a key press handler which allows characters for postal codes of a referenced country.static com.google.gwt.event.dom.client.KeyPressHandlergetRegExKeyPressHandler(String pregEx)get a key press handler which allows all characters which could match a reg ex.static com.google.gwt.event.dom.client.KeyPressHandlergetTaxNumberKeyPressHandler(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)get a key press handler which allows characters for tax number of a referenced country.static com.google.gwt.event.dom.client.KeyPressHandlergetTinKeyPressHandler(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)get a key press handler which allows characters for tin of a referenced country.static com.google.gwt.event.dom.client.KeyPressHandlergetUpperAsciiKeyPressHandler()get a upper case key press handler.static com.google.gwt.event.dom.client.KeyPressHandlergetVatIdKeyPressHandler(com.google.gwt.user.client.TakesValue<?> pcountryCodeField)get a key press handler which allows characters for vat id of a referenced country.
-
-
-
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
-
-