tornadofx / tornadofx / SingleAssign

SingleAssign

interface SingleAssign<T>

Functions

getValue abstract operator fun getValue(thisRef: Any?, property: KProperty<*>): T
isInitialized abstract fun isInitialized(): Boolean
setValue abstract operator fun setValue(thisRef: Any?, property: KProperty<*>, value: T): Unit

Extension Functions

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