tornadofx / tornadofx / FXEventRegistration

FXEventRegistration

class FXEventRegistration

Constructors

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

Properties

action val action: EventContext.(FXEvent) -> Unit
count val count: AtomicLong
eventType val eventType: KClass<out FXEvent>
maxCount val maxCount: Long?
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>