public static class Grid.NoSelectionModel extends Grid.AbstractSelectionModel implements Grid.SelectionModel.None
Grid.SelectionModel.NoneGrid.SelectionModel.HasUserSelectionAllowed, Grid.SelectionModel.Multi, Grid.SelectionModel.None, Grid.SelectionModel.SingleClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListenerselection| Constructor and Description |
|---|
NoSelectionModel() |
| Modifier and Type | Method and 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.
|
void |
reset()
Semantically resets the selection model.
|
checkItemIdExists, checkItemIdsExist, destroyData, fireSelectionEvent, generateData, getItemId, setGridaddComponentToGrid, extend, getColumn, getParentGrid, refreshRow, remove, removeComponentFromGridgetParent, getSupportedParentType, setParentaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getState, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResourceclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitsetGridaddAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getParent, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetConnectorIdpublic boolean isSelected(Object itemId)
Grid.SelectionModelisSelected in interface Grid.SelectionModelisSelected in interface Grid.SelectionModel.NoneisSelected in class Grid.AbstractSelectionModelitemId - the item id to check fortrue iff the item is selectedpublic Collection<Object> getSelectedRows()
Grid.SelectionModelgetSelectedRows in interface Grid.SelectionModelgetSelectedRows in interface Grid.SelectionModel.NonegetSelectedRows in class Grid.AbstractSelectionModelpublic void reset()
Effectively a no-op.
reset in interface Grid.SelectionModelCopyright © 2023 Vaadin Ltd. All rights reserved.