Class FilterReplaceAndFormatKeyPressHandler<E>

java.lang.Object
de.knightsoftnet.mtwidgets.client.ui.handler.ValueBoxFromEvent<E>
de.knightsoftnet.mtwidgets.client.ui.handler.FilterReplaceAndFormatKeyPressHandler<E>
Type Parameters:
E - field type
All Implemented Interfaces:
com.google.gwt.event.dom.client.KeyPressHandler, com.google.gwt.event.shared.EventHandler

public class FilterReplaceAndFormatKeyPressHandler<E> extends ValueBoxFromEvent<E> implements com.google.gwt.event.dom.client.KeyPressHandler
Key press handler which limits and replaces characters and formats input. It can be attached to widgets which implement HasFormating interface!
Author:
Manfred Tremmel
  • Constructor Details

    • FilterReplaceAndFormatKeyPressHandler

      public FilterReplaceAndFormatKeyPressHandler()
      default constructor.
  • Method Details

    • onKeyPress

      public void onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
      Specified by:
      onKeyPress in interface com.google.gwt.event.dom.client.KeyPressHandler