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 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