tornadofx / tornadofx / ViewModel / addValidator

addValidator

inline fun <reified T> addValidator(node: Node, property: ObservableValue<T>, trigger: ValidationTrigger = ValidationTrigger.OnChange(), noinline validator: ValidationContext.(T?) -> ValidationMessage?): Unit