You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.internal.change.

Class NodeFeatureChange

    • Constructor Detail

      • NodeFeatureChange

        public NodeFeatureChange​(NodeFeature feature)

        Creates a new change for the given feature.

        Parameters:

        feature - the feature affected by the change

    • Method Detail

      • getFeature

        public Class<? extends NodeFeature> getFeature()

        Gets the feature affected by the change.

        Returns:

        the feature

      • 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