public class ShortcutActionHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ShortcutActionHandler.ShortcutActionHandlerOwner
An interface implemented by those users of this helper class that want to
support special components like
VRichTextArea that don't properly
propagate key down events. |
| Constructor and Description |
|---|
ShortcutActionHandler(String pid,
ApplicationConnection c) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleKeyboardEvent(com.google.gwt.user.client.Event event) |
void |
handleKeyboardEvent(com.google.gwt.user.client.Event event,
ComponentConnector target) |
void |
updateActionMap(UIDL c)
Updates list of actions this handler listens to.
|
public ShortcutActionHandler(String pid, ApplicationConnection c)
pid - Paintable idc - reference to application connectionspublic void updateActionMap(UIDL c)
c - UIDL snippet containing actionspublic void handleKeyboardEvent(com.google.gwt.user.client.Event event,
ComponentConnector target)
public void handleKeyboardEvent(com.google.gwt.user.client.Event event)
Copyright © 2021 Vaadin Ltd. All rights reserved.