Interface EventCollector

All Known Implementing Classes:
AnnotationEventMapper
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 EventCollector
  • Method Summary

    Modifier and Type
    Method
    Description
    collect(Object object)
    Take an object and collect any valid event handlers that may exist inside the object.
  • Method Details

    • collect

      Iterable<EventHandler<?>> collect(Object object)
      Take an object and collect any valid event handlers that may exist inside the object.
      Returns:
      a list of handlers, or null if the object cannot be collected by this collector