public class ConnectorActionManager extends ActionManager
This is mostly a workaround until shortcut actions are re-implemented in a more sensible way.
actionHandlers, actionMapper, ownActions, viewer| Constructor and Description |
|---|
ConnectorActionManager(ClientConnector connector)
Initialize an action manager for the given connector.
|
ConnectorActionManager(ClientConnector connector,
T viewer)
Initialize an action manager for the given connector using the given
viewer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleAction(Action action,
Object sender,
Object target)
Handles an action for the given target.
|
addAction, addActionHandler, getActions, handleActions, paintActions, removeAction, removeActionHandler, removeAllActionHandlers, setViewerpublic ConnectorActionManager(ClientConnector connector)
connector - the owner of this action managerpublic ConnectorActionManager(ClientConnector connector, T viewer)
connector - the owner of this action managerviewer - the viewer connectedpublic void handleAction(Action action, Object sender, Object target)
Action.HandlerhandleAction in interface Action.HandlerhandleAction in class ActionManageraction - the action to be handled.sender - the sender of the action. This is most often the action
container.target - the target of the action. For item containers this is the
item id.Copyright © 2019 Vaadin Ltd. All rights reserved.