public class EnterClickAdapter extends Object implements KeyDownHandler
| Constructor and Description |
|---|
EnterClickAdapter(ClickHandler onEnter) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerRegistration |
bind(HasKeyDownHandlers target,
ClickHandler onEnter)
Binds a listener to the supplied target text box that triggers the supplied click handler
when enter is pressed on the text box.
|
void |
onKeyDown(KeyDownEvent event) |
public EnterClickAdapter(ClickHandler onEnter)
public static HandlerRegistration bind(HasKeyDownHandlers target, ClickHandler onEnter)
public void onKeyDown(KeyDownEvent event)
onKeyDown in interface KeyDownHandlerCopyright © 2013. All Rights Reserved.