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

Class DataChangeEvent<T>

    • Constructor Detail

      • DataChangeEvent

        public DataChangeEvent​(DataProvider<T,​?> source)

        Creates a new DataChangeEvent event originating from the given data provider.

        Parameters:

        source - the data provider, not null

    • Method Detail

      • unregisterListener

        public void unregisterListener()
                                throws IllegalStateException

        Unregisters the event listener currently being invoked.

        This method can only be called from within an event listener otherwise it throws an IllegalStateException. Calling it will remove the current event listener so no further events are passed to it.

        Throws:

        IllegalStateException - if the method is called outside of the event listener.