eventHandler

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

Registers an event filter to this task.


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

Registers an event handler to this task.


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

Registers an event handler to this node.


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

Registers an event handler to this scene.


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

Registers an event handler to this MenuItem.


inline fun <E : Event> TableColumnBase<*, *>.eventHandler(type: EventType<E>, noinline action: (Event) -> Unit): EventHandler<E>

Registers an event handler to this table column.


inline fun <E : Event> TreeItem<*>.eventHandler(type: EventType<E>, noinline action: (E) -> Unit): EventHandler<E>

Registers an event handler to this TreeItem.


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

Registers an event handler to this transform.