com.vaadin.event
Class ConnectorActionManager
java.lang.Object
com.vaadin.event.ActionManager
com.vaadin.event.ConnectorActionManager
- All Implemented Interfaces:
- Action.Container, Action.Handler, Action.Notifier, java.io.Serializable
public class ConnectorActionManager
- extends ActionManager
An ActionManager connected to a connector. Takes care of verifying that the
connector can receive events before triggering an action.
This is mostly a workaround until shortcut actions are re-implemented in a
more sensible way.
- Since:
- 7.1.8
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
Method Summary |
void |
handleAction(Action action,
java.lang.Object sender,
java.lang.Object target)
Handles an action for the given target. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorActionManager
public ConnectorActionManager(ClientConnector connector)
- Initialize an action manager for the given connector.
- Parameters:
connector
- the owner of this action manager
ConnectorActionManager
public ConnectorActionManager(ClientConnector connector,
T viewer)
- Initialize an action manager for the given connector using the given
viewer.
- Parameters:
connector
- the owner of this action managerviewer
- the viewer connected
handleAction
public void handleAction(Action action,
java.lang.Object sender,
java.lang.Object target)
- Description copied from interface:
Action.Handler
- Handles an action for the given target. The handler method may just
discard the action if it's not suitable.
- Specified by:
handleAction
in interface Action.Handler
- Overrides:
handleAction
in class ActionManager
- Parameters:
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 © 2000-2014 Vaadin Ltd. All Rights Reserved.