eventFilter

inline fun <E : Event> Service<*>.eventFilter(type: EventType<E>, noinline action: (E) -> Unit): EventHandler<E>
inline fun <E : Event> Task<*>.eventFilter(type: EventType<E>, noinline action: (E) -> Unit): EventHandler<E>

Registers an event filter to this task.


inline fun <E : Event> Node.eventFilter(type: EventType<E>, noinline action: (E) -> Unit): EventHandler<E>
inline fun <E : Event> Window.eventFilter(type: EventType<E>, noinline action: (E) -> Unit): EventHandler<E>

Registers an event filter to this node.


inline fun <E : Event> Scene.eventFilter(type: EventType<E>, noinline action: (E) -> Unit): EventHandler<E>

Registers an event filter to this scene.


inline fun <E : Event> Transform.eventFilter(type: EventType<E>, noinline action: (E) -> Unit): EventHandler<E>

Registers an event filter to this transform.