eventFilter

fun <E : Event> Service<*>.eventFilter(context: CoroutineContext = Dispatchers.JavaFx, type: EventType<E>, action: suspend CoroutineScope.(E) -> Unit): EventHandler<E>
fun <E : Event> Task<*>.eventFilter(context: CoroutineContext = Dispatchers.JavaFx, type: EventType<E>, action: suspend CoroutineScope.(E) -> Unit): EventHandler<E>

Registers an event filter to this task.


fun <E : Event> Node.eventFilter(context: CoroutineContext = Dispatchers.JavaFx, type: EventType<E>, action: suspend CoroutineScope.(E) -> Unit): EventHandler<E>
fun <E : Event> Window.eventFilter(context: CoroutineContext = Dispatchers.JavaFx, type: EventType<E>, action: suspend CoroutineScope.(E) -> Unit): EventHandler<E>

Registers an event filter to this node.


fun <E : Event> Scene.eventFilter(context: CoroutineContext = Dispatchers.JavaFx, type: EventType<E>, action: suspend CoroutineScope.(E) -> Unit): EventHandler<E>

Registers an event filter to this scene.


fun <E : Event> Transform.eventFilter(context: CoroutineContext = Dispatchers.JavaFx, type: EventType<E>, action: suspend CoroutineScope.(E) -> Unit): EventHandler<E>

Registers an event filter to this transform.