tornadofx / tornadofx / Commit

Commit

class Commit

Constructors

<init> Commit(property: ObservableValue<*>, oldValue: Any?, newValue: Any?)

Properties

changed val changed: Boolean
newValue val newValue: Any?
oldValue val oldValue: Any?
property val property: ObservableValue<*>

Extension Functions

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