Interface GridSingleSelectionModel<T>

Type Parameters:
T - the type of items in grid
All Superinterfaces:
GridSelectionModel<T>, SelectionModel<Grid<T>,T>, SelectionModel.Single<Grid<T>,T>, Serializable
All Known Implementing Classes:
AbstractGridSingleSelectionModel

public interface GridSingleSelectionModel<T> extends GridSelectionModel<T>, SelectionModel.Single<Grid<T>,T>
Single selection model interface for Grid.
Author:
Vaadin Ltd
  • Method Details

    • asSingleSelect

      SingleSelect<Grid<T>,T> asSingleSelect()
      Gets a wrapper to use this single selection model as a single select in Binder.
      Returns:
      the single select wrapper
    • addSingleSelectionListener

      Registration addSingleSelectionListener(SingleSelectionListener<Grid<T>,T> listener)
      Adds a selection listener that will be called when the selection is changed either by the user or programmatically.
      Parameters:
      listener - the single selection listener, not null
      Returns:
      a registration for the listener