|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - type parameter corresponding with Grid row typepublic static interface SelectionModel.Multi.Batched<T>
A multi selection model that can send selections and deselections in a batch, instead of committing them one-by-one.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.vaadin.client.widget.grid.selection.SelectionModel.Multi |
|---|
SelectionModel.Multi.Batched<T> |
| Nested classes/interfaces inherited from interface com.vaadin.client.widget.grid.selection.SelectionModel |
|---|
SelectionModel.Multi<T>, SelectionModel.None<T>, SelectionModel.Single<T> |
| Method Summary | |
|---|---|
void |
commitBatchSelect()
Commits and ends a batch selection. |
java.util.Collection<T> |
getDeselectedRowsBatch()
Gets all the rows that would become deselected in this batch. |
java.util.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. |
| Methods inherited from interface com.vaadin.client.widget.grid.selection.SelectionModel.Multi |
|---|
deselect, deselect, deselectAll, select, select |
| Methods inherited from interface com.vaadin.client.widget.grid.selection.SelectionModel |
|---|
getSelectedRows, getSelectionColumnRenderer, isSelected, reset, setGrid |
| Method Detail |
|---|
void 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 startedjava.util.Collection<T> getSelectedRowsBatch()
java.util.Collection<T> getDeselectedRowsBatch()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||