Interface Action.Handler

Interface implemented by classes who wish to handle actions.

Synopsis

Since

3.0

Inheritance Path.  com.itmill.toolkit.event.Action.Handler

getActions(Object, Object)

Parameters

target

The target handler to list actions for. For item containers this is the item id.

sender

The party that would be sending the actions. Most of this is the action container.

Returns the list of actions applicable to this handler.

handleAction(Action, Object, Object)

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.

Handles an action for the given target. The handler method may just discard the action if it's not suitable.