Package com.vaadin.flow.internal.change
Class EmptyChange
java.lang.Object
com.vaadin.flow.internal.change.NodeChange
com.vaadin.flow.internal.change.NodeFeatureChange
com.vaadin.flow.internal.change.EmptyChange
- All Implemented Interfaces:
Serializable
Empty change for the feature to report its presence for the client (send the
feature information even though its data is empty).
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 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.NodeFeatureChange
getFeature
Methods inherited from class com.vaadin.flow.internal.change.NodeChange
getNode, toJson
-
Constructor Details
-
EmptyChange
Creates a new empty change.- Parameters:
feature
- the feature to populate on the client
-
-
Method Details
-
populateJson
Description copied from class:NodeChange
Overridden by subclasses to populate a JSON object when serializing.- Overrides:
populateJson
in classNodeFeatureChange
- Parameters:
json
- the json object to populateconstantPool
- the constant pool to use for serializing constant pool references
-