tornadofx / tornadofx / FXEventRegistration

FXEventRegistration

class FXEventRegistration : EventRegistration

Constructors

<init> FXEventRegistration(eventType: KClass<out FXEvent>, owner: Component?, maxCount: Long? = null, anAction: EventContext.(FXEvent) -> Unit)

Properties

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

Functions

equals fun equals(other: Any?): Boolean
hashCode fun hashCode(): Int
unsubscribe 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>