public class HierarchicalDataCommunicatorConnector extends DataCommunicatorConnector
DataCommunicatorConnector.VaadinDataSource| Constructor and Description |
|---|
HierarchicalDataCommunicatorConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onRowDataUpdate(JsonObject newRowData,
JsonObject oldRowData)
Called row updates from server side.
|
extend, 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, updateEnabledStatepublic HierarchicalDataCommunicatorConnector()
protected void onRowDataUpdate(JsonObject newRowData, JsonObject oldRowData)
DataCommunicatorConnectorThis method exists for making it possible to copy data from the old object to the new one, if e.g. some data is not available in the server side when doing updates and would be missed otherwise.
onRowDataUpdate in class DataCommunicatorConnectornewRowData - the new row dataoldRowData - the previous row dataCopyright © 2018 Vaadin Ltd. All rights reserved.