T
- the type of items in gridpublic interface GridSingleSelectionModel<T> extends GridSelectionModel<T>, SelectionModel.Single<Grid<T>,T>
SelectionModel.Multi<C extends Component,T>, SelectionModel.Single<C extends Component,T>
Modifier and Type | Method and Description |
---|---|
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.
|
SingleSelect<Grid<T>,T> |
asSingleSelect()
Gets a wrapper to use this single selection model as a single select in
Binder . |
deselectFromClient, selectFromClient
deselectAll, getFirstSelectedItem, getSelectedItem, getSelectedItems, isDeselectAllowed, select, setDeselectAllowed, setSelectedItem
addSelectionListener, deselect, isSelected
SingleSelect<Grid<T>,T> asSingleSelect()
Binder
.Registration addSingleSelectionListener(SingleSelectionListener<Grid<T>,T> listener)
listener
- the single selection listener, not null
Copyright © 2022. All rights reserved.