Companion

object Companion

Functions

Link copied to clipboard
fun <E : Event, H> create(eventType: Class<E>, handlerType: Class<H>?, handlerGetter: Function<E, H>?): EventFilter<E, H>

Creates a new event filter for the given eventType and handlerType on the event, using the given handlerGetter, if given, to get the handler object from the event.

Link copied to clipboard
inline fun <E : Event, H> EventFilter.Companion.create(handlerGetter: Function<E, H>?): EventFilter<E, H>

Creates a new event filter for the given event type E and handler type H on the event, using the given handlerGetter, if given, to get the handler object from the event.

Properties

Link copied to clipboard

An event filter that does not perform any filtering, and accepts all event types.