Class AbstractFilterKeyPressHandler

    • Constructor Detail

      • AbstractFilterKeyPressHandler

        protected AbstractFilterKeyPressHandler​(Set<Character> pallowedCharacters,
                                                boolean pallowCopyAndPast)
        constructor initializing fields.
        Parameters:
        pallowedCharacters - characters which are allowed to add
        pallowCopyAndPast - is copy and paste allowed?
      • AbstractFilterKeyPressHandler

        protected AbstractFilterKeyPressHandler​(String pallowedCharacters,
                                                boolean pallowCopyAndPast)
        constructor initializing fields.
        Parameters:
        pallowedCharacters - characters which are allowed to add
        pallowCopyAndPast - is copy and paste allowed?
    • Method Detail

      • getAllowedCharacters

        protected final Set<Character> getAllowedCharacters()
      • setAllowedCharacters

        protected final void setAllowedCharacters​(Set<Character> pallowedCharacters)
      • setAllowedCharacters

        protected final void setAllowedCharacters​(String pallowedCharacters)
      • onKeyPress

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