Package com.vaadin.flow.internal.change
Class NodeAttachChange
java.lang.Object
com.vaadin.flow.internal.change.NodeChange
com.vaadin.flow.internal.change.NodeAttachChange
- All Implemented Interfaces:
Serializable
Change describing that a node has been attached.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpopulateJson(com.fasterxml.jackson.databind.node.ObjectNode 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 Details
-
NodeAttachChange
Creates a new attach change.- Parameters:
node- the attached node
-
-
Method Details
-
populateJson
protected void populateJson(com.fasterxml.jackson.databind.node.ObjectNode json, ConstantPool constantPool) Description copied from class:NodeChangeOverridden by subclasses to populate a JSON object when serializing.- Specified by:
populateJsonin classNodeChange- Parameters:
json- the json object to populateconstantPool- the constant pool to use for serializing constant pool references
-