|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
com.vaadin.ui.Grid.AbstractGridExtension
com.vaadin.ui.Grid.AbstractSelectionModel
com.vaadin.ui.Grid.NoSelectionModel
public static class Grid.NoSelectionModel
A default implementation for a Grid.SelectionModel.None
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.vaadin.ui.Grid.SelectionModel |
|---|
Grid.SelectionModel.Multi, Grid.SelectionModel.None, Grid.SelectionModel.Single |
| Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector |
|---|
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener |
| Field Summary |
|---|
| Fields inherited from class com.vaadin.ui.Grid.AbstractSelectionModel |
|---|
selection |
| Constructor Summary | |
|---|---|
Grid.NoSelectionModel()
|
|
| 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. |
void |
reset()
Semantically resets the selection model. |
| Methods inherited from class com.vaadin.ui.Grid.AbstractSelectionModel |
|---|
checkItemIdExists, checkItemIdsExist, destroyData, fireSelectionEvent, generateData, getItemId, setGrid |
| Methods inherited from class com.vaadin.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 java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.vaadin.ui.Grid.SelectionModel |
|---|
setGrid |
| Methods inherited from interface com.vaadin.server.Extension |
|---|
remove, setParent |
| 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 |
| Constructor Detail |
|---|
public Grid.NoSelectionModel()
| Method Detail |
|---|
public boolean isSelected(java.lang.Object itemId)
Grid.SelectionModel
isSelected in interface Grid.SelectionModelisSelected in interface Grid.SelectionModel.NoneisSelected in class Grid.AbstractSelectionModelitemId - the item id to check for
true iff the item is selectedpublic java.util.Collection<java.lang.Object> getSelectedRows()
Grid.SelectionModel
getSelectedRows in interface Grid.SelectionModelgetSelectedRows in interface Grid.SelectionModel.NonegetSelectedRows in class Grid.AbstractSelectionModelpublic void reset()
Effectively a no-op.
reset in interface Grid.SelectionModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||