|
||||||||||
| 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.Single<T>
Selection model that allows a maximum of one row to be selected at any one time.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.vaadin.client.ui.grid.selection.SelectionModel |
|---|
SelectionModel.Multi<T>, SelectionModel.None<T>, SelectionModel.Single<T> |
| Method Summary | |
|---|---|
boolean |
deselect(T row)
Deselects a row. |
T |
getSelectedRow()
Returns the currently selected row. |
boolean |
select(T row)
Selects a row. |
| Methods inherited from interface com.vaadin.client.ui.grid.selection.SelectionModel |
|---|
getSelectedRows, getSelectionColumnRenderer, isSelected, reset, setGrid |
| Method Detail |
|---|
boolean select(T row)
row - a Grid row object
boolean deselect(T row)
This is a no-op unless row is the currently selected row.
row - a Grid row object
T getSelectedRow()
Grid row object or null, if nothing is selected.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||