Uses of Interface
elemental.json.JsonObject
-
-
Uses of JsonObject in com.vaadin.client.communication
Methods in com.vaadin.client.communication that return JsonObject Modifier and Type Method Description JsonObject
XhrConnectionError. getPayload()
Returns the payload which was sent to the serverMethods in com.vaadin.client.communication with parameters of type JsonObject Modifier and Type Method Description protected void
DefaultConnectionStateHandler. doReconnect(JsonObject payload)
Re-sends the payload to the server (if not null) or re-sends a heartbeat request immediatelyprotected void
DefaultConnectionStateHandler. handleRecoverableError(DefaultConnectionStateHandler.Type type, JsonObject payload)
Called whenever an error occurs in communication which should be handled by showing the reconnect dialog and retrying communication until successful againvoid
AtmospherePushConnection. push(JsonObject message)
void
PushConnection. push(JsonObject payload)
Pushes a message to the server.void
ConnectionStateHandler. pushNotConnected(JsonObject payload)
Called when a message is to be sent to the server through the push channel but the push channel is not connectedvoid
DefaultConnectionStateHandler. pushNotConnected(JsonObject payload)
protected void
DefaultConnectionStateHandler. scheduleReconnect(JsonObject payload)
Called after a problem occurred.protected void
MessageSender. send(JsonArray reqInvocations, JsonObject extraJson)
Makes an UIDL request to the server.void
MessageSender. send(JsonObject payload)
Sends an asynchronous or synchronous UIDL request to the server using the given URI.void
XhrConnection. send(JsonObject payload)
Sends an asynchronous UIDL request to the server using the given URI.void
XhrConnection.XhrResponseHandler. setPayload(JsonObject payload)
Sets the payload which was sent to the serverConstructors in com.vaadin.client.communication with parameters of type JsonObject Constructor Description StateChangeEvent(ServerConnector connector, JsonObject stateJson, boolean initialStateChange)
/** Creates a new state change event.XhrConnectionError(com.google.gwt.http.client.Request request, JsonObject payload, com.google.gwt.http.client.Response response)
Constructs an event from the given request, response and payloadXhrConnectionError(com.google.gwt.http.client.Request request, JsonObject payload, Throwable exception)
Constructs an event from the given request, payload and exception -
Uses of JsonObject in com.vaadin.client.connectors
Classes in com.vaadin.client.connectors with type parameters of type JsonObject Modifier and Type Class Description class
AbstractSelectionModelConnector<T extends SelectionModel<JsonObject>>
Base class for all selection model connectors.Methods in com.vaadin.client.connectors that return JsonObject Modifier and Type Method Description JsonObject
SingleSelectionModelConnector.SingleSelectionModel. getSelectedRow()
Methods in com.vaadin.client.connectors that return types with arguments of type JsonObject Modifier and Type Method Description protected SelectionModel.Multi<JsonObject>
MultiSelectionModelConnector. createSelectionModel()
protected SelectionModel<JsonObject>
NoSelectionModelConnector. createSelectionModel()
protected SelectionModel.Single<JsonObject>
SingleSelectionModelConnector. createSelectionModel()
Collection<JsonObject>
MultiSelectionModelConnector.MultiSelectionModel. getDeselectedRowsBatch()
protected Grid<JsonObject>
AbstractSelectionModelConnector. getGrid()
DataSource.RowHandle<JsonObject>
RpcDataSourceConnector.RpcDataSource. getHandleByKey(Object key)
protected DataSource.RowHandle<JsonObject>
AbstractSelectionModelConnector. getRowHandle(JsonObject row)
Collection<JsonObject>
AbstractSelectionModelConnector.AbstractSelectionModel. getSelectedRows()
Collection<JsonObject>
MultiSelectionModelConnector.MultiSelectionModel. getSelectedRowsBatch()
Grid<JsonObject>
GridConnector. getWidget()
Methods in com.vaadin.client.connectors with parameters of type JsonObject Modifier and Type Method Description boolean
MultiSelectionModelConnector.MultiSelectionModel. deselect(JsonObject... rows)
Deselects one or more rows.boolean
SingleSelectionModelConnector.SingleSelectionModel. deselect(JsonObject row)
protected DataSource.RowHandle<JsonObject>
AbstractSelectionModelConnector. getRowHandle(JsonObject row)
protected String
AbstractRendererConnector. getRowKey(JsonObject row)
Gets the row key for a row object.protected String
AbstractSelectionModelConnector. getRowKey(JsonObject row)
String
GridConnector. getRowKey(JsonObject row)
Gets the row key for a row object.String
RpcDataSourceConnector.RpcDataSource. getRowKey(JsonObject row)
boolean
AbstractSelectionModelConnector.AbstractSelectionModel. isSelected(JsonObject row)
protected void
RpcDataSourceConnector.RpcDataSource. onDropFromCache(int rowIndex, JsonObject row)
boolean
MultiSelectionModelConnector.MultiSelectionModel. select(JsonObject... rows)
Selects one or more rows.boolean
SingleSelectionModelConnector.SingleSelectionModel. select(JsonObject row)
protected void
RpcDataSourceConnector.RpcDataSource. updateRowData(JsonObject row)
Updates row data based on row key.Method parameters in com.vaadin.client.connectors with type arguments of type JsonObject Modifier and Type Method Description protected com.google.web.bindery.event.shared.HandlerRegistration
ButtonRendererConnector. addClickHandler(ClickableRenderer.RendererClickHandler<JsonObject> handler)
protected abstract com.google.web.bindery.event.shared.HandlerRegistration
ClickableRendererConnector. addClickHandler(ClickableRenderer.RendererClickHandler<JsonObject> handler)
protected com.google.web.bindery.event.shared.HandlerRegistration
ImageRendererConnector. addClickHandler(ClickableRenderer.RendererClickHandler<JsonObject> handler)
protected ComplexRenderer<Boolean>
MultiSelectionModelConnector.MultiSelectionModel. createSelectionColumnRenderer(Grid<JsonObject> grid)
Creates a selection column renderer.boolean
MultiSelectionModelConnector.MultiSelectionModel. deselect(Collection<JsonObject> rows)
Deselect all rows in aCollection
.protected String
AbstractRendererConnector. getColumnId(Grid.Column<?,JsonObject> column)
Gets the column id for a column.protected boolean
MultiSelectionModelConnector.MultiSelectionModel. markAsSelected(DataSource.RowHandle<JsonObject> row, boolean selected)
Marks the given row to be selected or deselected.protected void
RpcDataSourceConnector.RpcDataSource. requestRows(int firstRowIndex, int numberOfRows, AbstractRemoteDataSource.RequestRowsCallback<JsonObject> callback)
boolean
MultiSelectionModelConnector.MultiSelectionModel. select(Collection<JsonObject> rows)
Select all rows in aCollection
.void
AbstractSelectionModelConnector.AbstractSelectionModel. setGrid(Grid<JsonObject> grid)
void
MultiSelectionModelConnector.MultiSelectionModel. setGrid(Grid<JsonObject> grid)
protected void
RpcDataSourceConnector.RpcDataSource. setRowData(int firstRowIndex, List<JsonObject> rowData)
-
Uses of JsonObject in com.vaadin.server
Methods in com.vaadin.server that return JsonObject Modifier and Type Method Description JsonObject
AbstractClientConnector. encodeState()
JsonObject
ClientConnector. encodeState()
Called by the framework to encode the state to a JSONObject.JsonObject
DragAndDropService. encodeState()
static JsonObject
LegacyCommunicationManager. encodeState(ClientConnector connector, SharedState state)
Deprecated.As of 7.1.JsonObject
BootstrapHandler.BootstrapContext. getApplicationParameters()
protected JsonObject
BootstrapHandler. getApplicationParameters(BootstrapHandler.BootstrapContext context)
Deprecated. -
Uses of JsonObject in com.vaadin.server.communication
Methods in com.vaadin.server.communication that return JsonObject Modifier and Type Method Description JsonObject
ServerRpcHandler.RpcRequest. getRawJson()
Gets the entire request in JSON format, as it was received from the client. -
Uses of JsonObject in com.vaadin.server.communication.data
Methods in com.vaadin.server.communication.data with parameters of type JsonObject Modifier and Type Method Description void
DataGenerator. generateData(Object itemId, Item item, JsonObject rowData)
Adds data to row object for given item and item id being sent to client. -
Uses of JsonObject in com.vaadin.ui
Methods in com.vaadin.ui that return JsonObject Modifier and Type Method Description JsonObject
ConnectorTracker. getDiffState(ClientConnector connector)
Methods in com.vaadin.ui with parameters of type JsonObject Modifier and Type Method Description void
Grid.AbstractSelectionModel. generateData(Object itemId, Item item, JsonObject rowData)
void
Grid.DetailComponentManager. generateData(Object itemId, Item item, JsonObject rowData)
void
ConnectorTracker. setDiffState(ClientConnector connector, JsonObject diffState)
-
Uses of JsonObject in elemental.json
Methods in elemental.json that return JsonObject Modifier and Type Method Description static JsonObject
Json. createObject()
JsonObject
JsonFactory. createObject()
Create an empty JsonObject.JsonObject
JsonArray. getObject(int index)
Return the ith element of the array (uncoerced) as a JsonObject If the type is not an object,, this can result in runtime errors.JsonObject
JsonObject. getObject(String key)
Return the element (uncoerced) as a JsonObject If the type is not an object,, this can result in runtime errors.static JsonObject
Json. parse(String jsonString)
-
Uses of JsonObject in elemental.json.impl
Classes in elemental.json.impl that implement JsonObject Modifier and Type Class Description class
JreJsonObject
Server-side implementation of JsonObject.Methods in elemental.json.impl that return JsonObject Modifier and Type Method Description JsonObject
JreJsonFactory. createObject()
JsonObject
JreJsonArray. getObject(int index)
JsonObject
JreJsonObject. getObject(String key)
-