tornadofx / tornadofx / EventRegistration

EventRegistration

interface EventRegistration

Properties

action abstract val action: EventContext.(FXEvent) -> Unit
eventType abstract val eventType: KClass<out FXEvent>
owner abstract val owner: Component?

Functions

unsubscribe abstract fun unsubscribe(): Unit

Extension Functions

getProperty fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T>
observable fun <T : Any> Any.observable(propName: String): ObjectProperty<T>

Inheritors

FXEventRegistration class FXEventRegistration : EventRegistration
InvalidatableEventRegistration data class InvalidatableEventRegistration : EventRegistration