public abstract class AbstractFilterKeyPressHandler extends Object implements com.google.gwt.event.dom.client.KeyPressHandler
| Constructor and Description |
|---|
AbstractFilterKeyPressHandler(Set<Character> pallowedCharacters,
boolean pallowCopyAndPast)
constructor initializing fields.
|
AbstractFilterKeyPressHandler(String pallowedCharacters,
boolean pallowCopyAndPast)
constructor initializing fields.
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<Character> |
getAllowedCharacters() |
void |
onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent pevent) |
protected void |
setAllowedCharacters(Set<Character> pallowedCharacters) |
protected void |
setAllowedCharacters(String pallowedCharacters) |
public AbstractFilterKeyPressHandler(Set<Character> pallowedCharacters, boolean pallowCopyAndPast)
pallowedCharacters - characters which are allowed to addpallowCopyAndPast - is copy & paste allowed?public AbstractFilterKeyPressHandler(String pallowedCharacters, boolean pallowCopyAndPast)
pallowedCharacters - characters which are allowed to addpallowCopyAndPast - is copy & paste allowed?protected final void setAllowedCharacters(String pallowedCharacters)
public void onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent pevent)
onKeyPress in interface com.google.gwt.event.dom.client.KeyPressHandlerCopyright © 2015–2017. All rights reserved.