com.vaadin.event.

Interface Action.Handler

    • Method Detail

      • getActions

        Action[] getActions​(Object target,
                            Object sender)

        Gets the list of actions applicable to this handler.

        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 Action

      • handleAction

        void handleAction​(Action action,
                          Object sender,
                          Object target)

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

        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.