Class 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 Detail

      • FilterReplaceAndFormatKeyPressHandler

        public FilterReplaceAndFormatKeyPressHandler()
        default constructor.
    • Method Detail

      • onKeyPress

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