public interface HasKeyDownHandlers
extends com.google.gwt.event.shared.HasHandlers
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addKeyDownHandler(KeyDownHandler handler)
Executed when a key is pressed on a focusable widget (
canFocus:
true). |
com.google.gwt.event.shared.HandlerRegistration addKeyDownHandler(KeyDownHandler handler)
canFocus:
true). Use EventHandler.getKey() to find out the String of the
key that was pressed, and use EventHandler.shiftKeyDown() and
related functions to determine whether modifier keys were down.
handler - the keyDown handlerHandlerRegistration used to remove this handler