com.vaadin.client.widgets.

Interface Grid.Editor.EventHandler<T>

  • Type Parameters:

    T - the row type of the grid

    All Known Implementing Classes:

    DefaultEditorEventHandler

    Enclosing class:

    Grid.Editor<T>

    public static interface Grid.Editor.EventHandler<T>

    A handler for events related to the Grid editor. Responsible for opening, moving or closing the editor based on the received event.

    Since:

    7.6

    Author:

    Vaadin Ltd

    • Method Summary

      All Methods
      Modifier and Type Method Description
      void confirmValidity​(boolean isValid)

      Confirms the valid status of the binder so as to determine whether to allow pending navigation action.

      boolean handleEvent​(Grid.EditorDomEvent<T> event)

      Handles editor-related events in an appropriate way.

    • Method Detail

      • handleEvent

        boolean handleEvent​(Grid.EditorDomEvent<T> event)

        Handles editor-related events in an appropriate way. Opens, moves, or closes the editor based on the given event.

        Parameters:

        event - the received event

        Returns:

        true if the event was handled and nothing else should be done, false otherwise

      • confirmValidity

        void confirmValidity​(boolean isValid)

        Confirms the valid status of the binder so as to determine whether to allow pending navigation action.

        Parameters:

        isValid - true if the binder value is valid