public interface KeyPressHandler extends com.google.gwt.event.shared.EventHandler
|Modifier and Type||Method and Description|
Executed when a key is pressed and released on a focusable widget (
void onKeyPress(KeyPressEvent event)
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.
event- the event