Class SimpleFilterAndReplaceKeyPressHandler

java.lang.Object
de.knightsoftnet.mtwidgets.client.ui.handler.AbstractFilterAndReplaceKeyPressHandler
de.knightsoftnet.mtwidgets.client.ui.handler.SimpleFilterAndReplaceKeyPressHandler
All Implemented Interfaces:
com.google.gwt.event.dom.client.KeyPressHandler, com.google.gwt.event.shared.EventHandler
Direct Known Subclasses:
PostalCodeKeyPressHandler, RegExKeyPressHandler, TaxNumberKeyPressHandler, TinKeyPressHandler, VatIdKeyPressHandler

public class SimpleFilterAndReplaceKeyPressHandler extends AbstractFilterAndReplaceKeyPressHandler
Simple key press handler which limits input to allowed characters.
Author:
Manfred Tremmel
  • Constructor Details

    • SimpleFilterAndReplaceKeyPressHandler

      public SimpleFilterAndReplaceKeyPressHandler(Set<Character> allowedCharacters, boolean allowCopyAndPast)
      constructor initializing fields.
      Parameters:
      allowedCharacters - characters which are allowed to add
      allowCopyAndPast - is copy and paste allowed?
    • SimpleFilterAndReplaceKeyPressHandler

      public SimpleFilterAndReplaceKeyPressHandler(String allowedCharacters, boolean pallowCopyAndPast)
      constructor initializing fields.
      Parameters:
      allowedCharacters - characters which are allowed to add
      pallowCopyAndPast - is copy and paste allowed?
  • Method Details