com.vaadin.ui
Interface Grid.SelectionModel.None
- All Superinterfaces:
- Grid.SelectionModel, java.io.Serializable
- All Known Implementing Classes:
- Grid.NoSelectionModel
- Enclosing interface:
- Grid.SelectionModel
public static interface Grid.SelectionModel.None
- extends Grid.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.
|
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. |
isSelected
boolean isSelected(java.lang.Object itemId)
- Checks whether an item is selected or not.
- Specified by:
isSelected in interface Grid.SelectionModel
- Parameters:
itemId - the item id to check for
- Returns:
- always
false.
getSelectedRows
java.util.Collection<java.lang.Object> getSelectedRows()
- Returns a collection of all the currently selected itemIds.
- Specified by:
getSelectedRows in interface Grid.SelectionModel
- Returns:
- always an empty collection.
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.