eventHandler

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

Registers an event filter to this task.


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

Registers an event handler to this task.


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

Registers an event handler to this node.


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

Registers an event handler to this scene.


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

Registers an event handler to this MenuItem.


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

Registers an event handler to this table column.


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

Registers an event handler to this TreeItem.


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

Registers an event handler to this transform.