com.vaadin.flow.internal.nodefeature.

Class SynchronizedPropertiesList

    • Constructor Detail

      • SynchronizedPropertiesList

        public SynchronizedPropertiesList(StateNode node)

        Creates a new synchronized properties list for the given node.

        Parameters:

        node - the node that the list belongs to

    • Method Detail

      • getSynchronizedProperties

        public Set<String> getSynchronizedProperties()

        Creates a view into this list.

        Returns:

        a view into this list

      • add

        public void add(String property,
                        DisabledUpdateMode mode)

        Add the property to the synchronized properties list.

        Parameters:

        property - the property to synchronize

        mode - controls RPC from the client side to the server side when the element is disabled, not null

      • getDisabledUpdateMode

        public DisabledUpdateMode getDisabledUpdateMode(String property)

        Gets property update mode for disabled element.

        Parameters:

        property - the property to get update mode

        Returns:

        the property update mode for disabled element