Package com.vaadin.ui
Interface Grid.SelectionModel.None
-
- All Superinterfaces:
ClientConnector
,Connector
,Extension
,Grid.SelectionModel
,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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.Grid.SelectionModel
Grid.SelectionModel.HasUserSelectionAllowed, Grid.SelectionModel.Multi, Grid.SelectionModel.None, Grid.SelectionModel.Single
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Object>
getSelectedRows()
Returns a collection of all the currently selected itemIds.boolean
isSelected(Object itemId)
Checks whether an item is selected or not.-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getParent, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
-
Methods inherited from interface com.vaadin.ui.Grid.SelectionModel
reset, setGrid
-
-
-
-
Method Detail
-
isSelected
boolean isSelected(Object itemId)
Checks whether an item is selected or not.- Specified by:
isSelected
in interfaceGrid.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:
getSelectedRows
in interfaceGrid.SelectionModel
- Returns:
- always an empty collection.
-
-