Interface ContentChangeNotifier

  • All Known Implementing Classes:
    ContentAware
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ContentChangeNotifier
    Marker interface for objects that broadcast ContentChangeEvents.
    Since:
    2021-02-04
    Author:
    miki
    • Method Detail

      • addContentChangeListener

        com.vaadin.flow.shared.Registration addContentChangeListener​(ContentChangeListener listener)
        Adds a listener to be notified whenever ContentChangeEvent happens.
        Parameters:
        listener - Listener to add.
        Returns:
        A Registration that can be used to stop listening to events.