tornadofx / tornadofx / BindingAware


interface BindingAware

Extension Functions

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


BindingAwareProperty interface BindingAwareProperty<T> : BindingAware, Property<T>

A property wrapper that will report its ViewModel relation to a central location to make it possible for validators to retrieve the correct ValidationContext from the ViewModel this property is bound to.