|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.ui.Grid.NoSelectionModel
public static class Grid.NoSelectionModel
A default implementation for a Grid.SelectionModel.None
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.vaadin.ui.Grid.SelectionModel |
|---|
Grid.SelectionModel.Multi, Grid.SelectionModel.None, Grid.SelectionModel.Single |
| Constructor Summary | |
|---|---|
Grid.NoSelectionModel()
|
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.Object> |
getSelectedRows()
Returns a collection of all the currently selected itemIds. |
boolean |
isSelected(java.lang.Object itemId)
Checks whether an item is selected or not. |
void |
reset()
Semantically resets the selection model. |
void |
setGrid(Grid grid)
Injects the current Grid instance into the SelectionModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Grid.NoSelectionModel()
| Method Detail |
|---|
public void setGrid(Grid grid)
Grid.SelectionModelGrid instance into the SelectionModel.
Note: This method should not be called manually.
setGrid in interface Grid.SelectionModelgrid - the Grid in which the SelectionModel currently is, or
null when a selection model is being detached
from a Grid.public boolean isSelected(java.lang.Object itemId)
Grid.SelectionModel.None
isSelected in interface Grid.SelectionModelisSelected in interface Grid.SelectionModel.NoneitemId - the item id to check for
false.public java.util.Collection<java.lang.Object> getSelectedRows()
Grid.SelectionModel.None
getSelectedRows in interface Grid.SelectionModelgetSelectedRows in interface Grid.SelectionModel.Nonepublic void reset()
Effectively a no-op.
reset in interface Grid.SelectionModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||