Package com.vaadin.flow.internal.change
Class NodeDetachChange
- java.lang.Object
-
- com.vaadin.flow.internal.change.NodeChange
-
- com.vaadin.flow.internal.change.NodeDetachChange
-
- All Implemented Interfaces:
Serializable
public class NodeDetachChange extends NodeChange
Change describing that a node has been detached.For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeDetachChange(StateNode node)
Creates a new detach change.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
populateJson(elemental.json.JsonObject json, ConstantPool constantPool)
Overridden by subclasses to populate a JSON object when serializing.-
Methods inherited from class com.vaadin.flow.internal.change.NodeChange
getNode, toJson
-
-
-
-
Constructor Detail
-
NodeDetachChange
public NodeDetachChange(StateNode node)
Creates a new detach change.- Parameters:
node
- the detached node
-
-
Method Detail
-
populateJson
protected void populateJson(elemental.json.JsonObject json, ConstantPool constantPool)
Description copied from class:NodeChange
Overridden by subclasses to populate a JSON object when serializing.- Specified by:
populateJson
in classNodeChange
- Parameters:
json
- the json object to populateconstantPool
- the constant pool to use for serializing constant pool references
-
-