| Package | Description |
|---|---|
| com.vaadin.event | |
| com.vaadin.ui |
| Modifier and Type | Class and Description |
|---|---|
class |
ShortcutAction
Shortcuts are a special type of
Actions used to create keyboard
shortcuts. |
class |
ShortcutListener |
| Modifier and Type | Field and Description |
|---|---|
protected KeyMapper<Action> |
ActionManager.actionMapper
Action mapper
|
protected HashSet<Action> |
ActionManager.ownActions
List of action handlers.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Action & Action.Listener> |
ActionManager.addAction(T action) |
<T extends Action & Action.Listener> |
Action.Notifier.addAction(T action) |
<T extends Action & Action.Listener> |
ActionManager.removeAction(T action) |
<T extends Action & Action.Listener> |
Action.Notifier.removeAction(T action) |
| Modifier and Type | Method and Description |
|---|---|
Action[] |
ActionManager.getActions(Object target,
Object sender) |
Action[] |
Action.Handler.getActions(Object target,
Object sender)
Gets the list of actions applicable to this handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectorActionManager.handleAction(Action action,
Object sender,
Object target) |
void |
ActionManager.handleAction(Action action,
Object sender,
Object target) |
void |
Action.Handler.handleAction(Action action,
Object sender,
Object target)
Handles an action for the given target.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractField.FocusShortcut
A ready-made
ShortcutListener that focuses the given
Focusable (usually a Field) when the keyboard shortcut is
invoked. |
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 |
|---|---|
<T extends Action & Action.Listener> |
UI.addAction(T action) |
<T extends Action & Action.Listener> |
Panel.addAction(T action) |
<T extends Action & Action.Listener> |
Form.addAction(T action)
Deprecated.
|
<T extends Action & Action.Listener> |
UI.removeAction(T action) |
<T extends Action & Action.Listener> |
Panel.removeAction(T action) |
<T extends Action & Action.Listener> |
Form.removeAction(T action)
Deprecated.
|
Copyright © 2019 Vaadin Ltd. All rights reserved.