com.vaadin.flow.internal.change.

Class ListClearChange<T extends Serializable>

    • Constructor Detail

      • ListClearChange

        public ListClearChange(NodeList<T> list)

        Creates a new list clear change.

        Parameters:

        list - the changed list

    • 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 class NodeFeatureChange

        Parameters:

        json - the json object to populate

        constantPool - the constant pool to use for serializing constant pool references