public class KeyboardAdaptor extends Object implements com.google.gwt.event.dom.client.KeyDownHandler, com.google.gwt.event.dom.client.KeyPressHandler, com.google.gwt.event.dom.client.KeyUpHandler
| Constructor and Description |
|---|
KeyboardAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleKeyRelease(Event event)
Handles a key release.
|
protected void |
handleRepeatableKey(Event event)
Handles a repeatable key press.
|
void |
onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) |
void |
onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event) |
void |
onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) |
public void onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
onKeyDown in interface com.google.gwt.event.dom.client.KeyDownHandlerpublic void onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
onKeyPress in interface com.google.gwt.event.dom.client.KeyPressHandlerpublic void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandlerprotected void handleRepeatableKey(Event event)
event - the native event that was firedprotected void handleKeyRelease(Event event)
event - the native event that was firedCopyright © 2004–2015 XWiki. All rights reserved.