Class NodeAttachChange

java.lang.Object
com.vaadin.flow.internal.change.NodeChange
com.vaadin.flow.internal.change.NodeAttachChange
All Implemented Interfaces:
Serializable

public class NodeAttachChange extends NodeChange
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 Details

    • NodeAttachChange

      public NodeAttachChange(StateNode node)
      Creates a new attach change.
      Parameters:
      node - the attached node
  • Method Details

    • 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 class NodeChange
      Parameters:
      json - the json object to populate
      constantPool - the constant pool to use for serializing constant pool references