You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.spreadsheet.framework.

Interface Action.Container

  • All Superinterfaces:

    Serializable

    All Known Subinterfaces:

    Action.Notifier

    All Known Implementing Classes:

    Spreadsheet

    Enclosing class:

    Action

    public static interface Action.Container
    extends Serializable

    Interface implemented by all components where actions can be registered. This means that the components lets others to register as action handlers to it. When the component receives an action targeting its contents it should loop all action handlers registered to it and let them handle the action.

    Since:

    3.0

    Author:

    Vaadin Ltd.

    • Method Detail

      • addActionHandler

        void addActionHandler​(Action.Handler actionHandler)

        Registers a new action handler for this container.

        Parameters:

        actionHandler - the new handler to be added.

      • removeActionHandler

        void removeActionHandler​(Action.Handler actionHandler)

        Removes a previously registered action handler for the contents of this container.

        Parameters:

        actionHandler - the handler to be removed.