Package org.vaadin.miki.events.state
Interface StateChangeListener<S extends Serializable,C extends com.vaadin.flow.component.Component & HasState<S>>
-
- Type Parameters:
S- Information about the state.C- Source of the changes.
- All Superinterfaces:
com.vaadin.flow.component.ComponentEventListener<StateChangeEvent<S,C>>,EventListener,Serializable
- 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 StateChangeListener<S extends Serializable,C extends com.vaadin.flow.component.Component & HasState<S>> extends com.vaadin.flow.component.ComponentEventListener<StateChangeEvent<S,C>>
Marker interface for objects that listen to state changes.- Since:
- 2020-07-08
- Author:
- miki