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 broadcastContentChangeEvents.- Since:
- 2021-02-04
- Author:
- miki
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.vaadin.flow.shared.RegistrationaddContentChangeListener(ContentChangeListener listener)Adds a listener to be notified wheneverContentChangeEventhappens.
-
-
-
Method Detail
-
addContentChangeListener
com.vaadin.flow.shared.Registration addContentChangeListener(ContentChangeListener listener)
Adds a listener to be notified wheneverContentChangeEventhappens.- Parameters:
listener- Listener to add.- Returns:
- A
Registrationthat can be used to stop listening to events.
-
-