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<?,JsonObject> column)
Gets the column id for a column.
|
protected GridConnector |
getGridConnector()
Gets the grid connector for this renderer connector.
|
protected String |
getRowKey(JsonObject row)
Gets the row key for a row object.
|
createRenderer, decode, extend, getRenderer, getStatesetParentaddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, onStateChanged, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledStateprotected String getRowKey(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.
row - the row objectprotected String getColumnId(Grid.Column<?,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.
column - the column objectprotected GridConnector getGridConnector()
Copyright © 2018 Vaadin Ltd. All rights reserved.