com.vaadin.client.connectors.
Class AbstractSelectionModelConnector<T extends SelectionModel<JsonObject>>
- java.lang.Object
-
- com.vaadin.client.ui.AbstractConnector
-
- com.vaadin.client.extensions.AbstractExtensionConnector
-
- com.vaadin.client.connectors.AbstractSelectionModelConnector<T>
-
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, StateChangeEvent.StateChangeHandler, ServerConnector, Connector, Serializable
Direct Known Subclasses:
MultiSelectionModelConnector, NoSelectionModelConnector, SingleSelectionModelConnector
public abstract class AbstractSelectionModelConnector<T extends SelectionModel<JsonObject>> extends AbstractExtensionConnector
Base class for all selection model connectors.
Since:
7.6
Author:
Vaadin Ltd
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
AbstractSelectionModelConnector.AbstractSelectionModel
-
Constructor Summary
Constructors Constructor and Description AbstractSelectionModelConnector()
-
Method Summary
All Methods Modifier and Type Method and Description protected abstract T
createSelectionModel()
protected Grid<JsonObject>
getGrid()
GridConnector
getParent()
Returns the parent of this connector.
protected DataSource.RowHandle<JsonObject>
getRowHandle(JsonObject row)
protected String
getRowKey(JsonObject row)
-
Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector
extend, setParent
-
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getResourceUrl, getRpcImplementations, getRpcProxy, getState, getStateType, hasEventListener, init, isEnabled, onStateChanged, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, unregisterRpc, updateEnabledState
-
-
-
-
Method Detail
-
getParent
public GridConnector getParent()
Description copied from interface:
ServerConnector
Returns the parent of this connector. Can be null for only the root connector.
Specified by:
getParent
in interfaceServerConnector
Specified by:
getParent
in interfaceConnector
Overrides:
getParent
in classAbstractConnector
Returns:
The parent of this connector, as set by
ServerConnector.setParent(ServerConnector)
.
-
getGrid
protected Grid<JsonObject> getGrid()
-
getRowHandle
protected DataSource.RowHandle<JsonObject> getRowHandle(JsonObject row)
-
getRowKey
protected String getRowKey(JsonObject row)
-
createSelectionModel
protected abstract T createSelectionModel()
-
-