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:
public class EmptyChange extends NodeFeatureChange
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 Constructor and Description EmptyChange(NodeFeature feature)
Creates a new empty change.
-
Method Summary
All Methods Modifier and Type Method and 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.NodeFeatureChange
getFeature
-
Methods inherited from class com.vaadin.flow.internal.change.NodeChange
getNode, toJson
-
-
-
-
Constructor Detail
-
EmptyChange
public EmptyChange(NodeFeature feature)
Creates a new empty change.
Parameters:
feature
- the feature to populate on the client
-
-
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.
Overrides:
populateJson
in classNodeFeatureChange
Parameters:
json
- the json object to populateconstantPool
- the constant pool to use for serializing constant pool references
-
-