Package com.vaadin.featurepack.ui
Interface FGrid.SelectionModel.None
- All Superinterfaces:
FGrid.SelectionModel,Serializable
- All Known Implementing Classes:
FGrid.NoSelectionModel
- Enclosing interface:
FGrid.SelectionModel
A SelectionModel that does not allow for rows to be selected.
This interface has a contract of having the same behavior, no matter how the selection model is interacted with. In other words, if the developer is unable to select something programmatically, it is not allowed for the end-user to select anything, either.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.featurepack.ui.FGrid.SelectionModel
FGrid.SelectionModel.HasUserSelectionAllowed, FGrid.SelectionModel.Multi, FGrid.SelectionModel.None, FGrid.SelectionModel.Single -
Method Summary
Modifier and TypeMethodDescriptionReturns a collection of all the currently selected itemIds.booleanisSelected(Object itemId) Checks whether an item is selected or not.Methods inherited from interface com.vaadin.featurepack.ui.FGrid.SelectionModel
reset, setGrid
-
Method Details
-
isSelected
Checks whether an item is selected or not.- Specified by:
isSelectedin interfaceFGrid.SelectionModel- Parameters:
itemId- the item id to check for- Returns:
- always
false.
-
getSelectedRows
Collection<Object> getSelectedRows()Returns a collection of all the currently selected itemIds.- Specified by:
getSelectedRowsin interfaceFGrid.SelectionModel- Returns:
- always an empty collection.
-