| Package | Description |
|---|---|
| com.vaadin.event | |
| com.vaadin.ui |
| Modifier and Type | Method and Description |
|---|---|
Registration |
Action.ShortcutNotifier.addShortcutListener(ShortcutListener shortcut)
Add a shortcut listener and return a registration object for
unregistering it.
|
void |
Action.ShortcutNotifier.removeShortcutListener(ShortcutListener shortcut)
Deprecated.
As of 8.0, replaced by
Registration.remove() in
the registration object returned from
Action.ShortcutNotifier.addShortcutListener(ShortcutListener). |
| Modifier and Type | Class and Description |
|---|---|
static class |
Button.ClickShortcut
A
ShortcutListener specifically made to define a keyboard
shortcut that invokes a click on the given button. |
static class |
Window.CloseShortcut
A
ShortcutListener specifically made to define a keyboard
shortcut that closes the window. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
AbstractComponent.addShortcutListener(ShortcutListener shortcut) |
void |
AbstractComponent.removeShortcutListener(ShortcutListener shortcut)
Deprecated.
|
Copyright © 2018 Vaadin Ltd. All rights reserved.