T - the presentation type of the rendererpublic abstract class AbstractGridRendererConnector<T> extends AbstractRendererConnector<T>
Renderer to a server-side
Renderer. As a connector, it
can use the regular Vaadin RPC and shared state mechanism to pass additional
state and information between the client and the server. This base class
itself only uses the basic SharedState and no RPC interfaces.| Constructor and Description |
|---|
AbstractGridRendererConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getColumnId(Grid.Column<?,elemental.json.JsonObject> column)
Gets the column id for a column.
|
protected String |
getRowKey(elemental.json.JsonObject row)
Gets the row key for a row object.
|
createRenderer, decode, extend, getRenderersetParentaddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getState, getStateType, getTag, hasEventListener, init, isEnabled, onStateChanged, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledStateprotected String getRowKey(elemental.json.JsonObject row)
In case this renderer wants be able to identify a row in such a way that the server also understands it, the row key is used for that. Rows are identified by unified keys between the client and the server.
getRowKey in class AbstractRendererConnector<T>row - the row objectprotected String getColumnId(Grid.Column<?,elemental.json.JsonObject> column)
In case this renderer wants be able to identify a column in such a way that the server also understands it, the column id is used for that. Columns are identified by unified ids between the client and the server.
getColumnId in class AbstractRendererConnector<T>column - the column objectCopyright © 2021 Vaadin Ltd. All rights reserved.