Package com.vaadin.v7.ui
Class Grid.NoSelectionModel
- java.lang.Object
-
- com.vaadin.server.AbstractClientConnector
-
- com.vaadin.server.AbstractExtension
-
- com.vaadin.v7.ui.Grid.AbstractGridExtension
-
- com.vaadin.v7.ui.Grid.AbstractSelectionModel
-
- com.vaadin.v7.ui.Grid.NoSelectionModel
-
- All Implemented Interfaces:
MethodEventSource,ClientConnector,Extension,com.vaadin.shared.Connector,DataGenerator,Grid.SelectionModel,Grid.SelectionModel.None,Serializable
- Enclosing class:
- Grid
@Deprecated public static class Grid.NoSelectionModel extends Grid.AbstractSelectionModel implements Grid.SelectionModel.None
Deprecated.A default implementation for aSelectionModel.None.- See Also:
- Serialized Form
-
-
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.v7.ui.Grid.SelectionModel
Grid.SelectionModel.HasUserSelectionAllowed, Grid.SelectionModel.Multi, Grid.SelectionModel.None, Grid.SelectionModel.Single
-
-
Field Summary
-
Fields inherited from class com.vaadin.v7.ui.Grid.AbstractSelectionModel
selection
-
-
Constructor Summary
Constructors Constructor Description NoSelectionModel()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Collection<Object>getSelectedRows()Deprecated.Returns a collection of all the currently selected itemIds.booleanisSelected(Object itemId)Deprecated.Checks whether an item is selected or not.voidreset()Deprecated.Semantically resets the selection model.-
Methods inherited from class com.vaadin.v7.ui.Grid.AbstractSelectionModel
checkItemIdExists, checkItemIdsExist, destroyData, fireSelectionEvent, generateData, getItemId, setGrid
-
Methods inherited from class com.vaadin.v7.ui.Grid.AbstractGridExtension
addComponentToGrid, extend, getColumn, getParentGrid, refreshRow, remove, removeComponentFromGrid
-
Methods inherited from class com.vaadin.server.AbstractExtension
getParent, getSupportedParentType, setParent
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
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.v7.ui.Grid.SelectionModel
setGrid
-
-
-
-
Method Detail
-
isSelected
public boolean isSelected(Object itemId)
Deprecated.Description copied from interface:Grid.SelectionModelChecks whether an item is selected or not.- Specified by:
isSelectedin interfaceGrid.SelectionModel- Specified by:
isSelectedin interfaceGrid.SelectionModel.None- Overrides:
isSelectedin classGrid.AbstractSelectionModel- Parameters:
itemId- the item id to check for- Returns:
trueif the item is selected
-
getSelectedRows
public Collection<Object> getSelectedRows()
Deprecated.Description copied from interface:Grid.SelectionModelReturns a collection of all the currently selected itemIds.- Specified by:
getSelectedRowsin interfaceGrid.SelectionModel- Specified by:
getSelectedRowsin interfaceGrid.SelectionModel.None- Overrides:
getSelectedRowsin classGrid.AbstractSelectionModel- Returns:
- a collection of all the currently selected itemIds
-
reset
public void reset()
Deprecated.Semantically resets the selection model.Effectively a no-op.
- Specified by:
resetin interfaceGrid.SelectionModel
-
-