T - type parameter corresponding with Grid row typepublic static interface SelectionModel.Multi.Batched<T> extends SelectionModel.Multi<T>
SelectionModel.Multi.Batched<T>SelectionModel.Multi<T>, SelectionModel.None<T>, SelectionModel.Single<T>| Modifier and Type | Method and Description |
|---|---|
void |
commitBatchSelect()
Commits and ends a batch selection.
|
Collection<T> |
getDeselectedRowsBatch()
Gets all the rows that would become deselected in this batch.
|
Collection<T> |
getSelectedRowsBatch()
Gets all the rows that would become selected in this batch.
|
boolean |
isBeingBatchSelected()
Checks whether or not a batch has been started.
|
void |
startBatchSelect()
Starts a batch selection.
|
deselect, deselect, deselectAll, select, selectgetSelectedRows, getSelectionColumnRenderer, isSelected, reset, setGridvoid startBatchSelect()
Any commands to any select or deselect method will be batched
into one, and a final selection event will be fired when
commitBatchSelect() is called.
Note: SelectionChangeEvents will
still be fired for each selection/deselection. You should check
whether the event is a part of a batch or not with
SelectionEvent.isBatchedSelection().
void commitBatchSelect()
Any and all selections and deselections since the last invocation
of startBatchSelect() will be fired at once as one
collated SelectionEvent.
boolean isBeingBatchSelected()
true iff a batch has been startedCollection<T> getSelectedRowsBatch()
Collection<T> getDeselectedRowsBatch()
Copyright © 2016 Vaadin Ltd. All rights reserved.