| Package | Description |
|---|---|
| com.vaadin.client | |
| com.vaadin.client.flow | |
| com.vaadin.client.flow.util |
| Modifier and Type | Method and Description |
|---|---|
StateTree |
Registry.getStateTree()
Gets the
StateTree singleton. |
| Modifier and Type | Method and Description |
|---|---|
StateTree |
StateNode.getTree()
Gets the state tree that this node belongs to.
|
| Modifier and Type | Method and Description |
|---|---|
static StateNode |
TreeChangeProcessor.processChange(StateTree tree,
elemental.json.JsonObject change)
Update a state tree based on a JSON change.
|
static JsSet<StateNode> |
TreeChangeProcessor.processChanges(StateTree tree,
elemental.json.JsonArray changes)
Update a state tree based on a JSON array of changes.
|
| Constructor and Description |
|---|
StateNode(int id,
StateTree tree)
Creates a new state node.
|
| Modifier and Type | Method and Description |
|---|---|
static StateNode |
ClientJsonCodec.decodeStateNode(StateTree tree,
elemental.json.JsonValue json)
Decodes a value as a
StateNode encoded on the server using
JsonCodec.encodeWithTypeInfo(Object) if it's possible. |
static Object |
ClientJsonCodec.decodeWithTypeInfo(StateTree tree,
elemental.json.JsonValue json)
Decodes a value encoded on the server using
JsonCodec.encodeWithTypeInfo(Object). |
Copyright © 2000–2022 Vaadin Ltd. All rights reserved.