Interface CustomEventListener<T>

Type Parameters:
T - the Java type of the detail in the custom event
All Superinterfaces:
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 CustomEventListener<T> extends Serializable
Server-side listener for a client-side CustomEvent.
Since:
1.0
Author:
Vaadin Ltd
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when a DOM event has been fired.
  • Method Details

    • handleEvent

      void handleEvent(CustomEvent<T> event)
      Invoked when a DOM event has been fired.
      Parameters:
      event - the fired event