- Type Parameters:
T
- Type of Data for this listener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A Simple listener interface
-
Method Summary
-
Method Details
-
onEvent
Called when the respective event occurs- Parameters:
t
- Data for that event
-