S - State type.C - Component type.@FunctionalInterface public interface StateChangeNotifier<S extends Serializable,C extends com.vaadin.flow.component.Component & HasState<S>>
StateChangeEvents.| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.shared.Registration |
addStateChangeListener(StateChangeListener<S,C> listener)
Adds given
StateChangeListener. |
com.vaadin.flow.shared.Registration addStateChangeListener(StateChangeListener<S,C> listener)
StateChangeListener.listener - Listener to be notified about StateChangeEvents.Registration that can be used to stop listening to the event.Copyright © 2023 Miki. All rights reserved.