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, setViewer
public 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.Handler
handleAction
in interface Action.Handler
handleAction
in class ActionManager
action
- 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.