Package com.vaadin.flow.component
Interface ComponentEventListener<T extends ComponentEvent<?>>
- Type Parameters:
T
- component event type
- All Superinterfaces:
EventListener
,Serializable
- All Known Implementing Classes:
KeyEventListener
- 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 ComponentEventListener<T extends ComponentEvent<?>>
extends EventListener, Serializable
Generic listener for component events.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onComponentEvent
(T event) Invoked when a component event has been fired.
-
Method Details
-
onComponentEvent
Invoked when a component event has been fired.- Parameters:
event
- component event
-