bindValidation

protected fun <T : JComponent> Cell<T>.bindValidation(property: KProperty<*>): Cell<T>(source)

Registers the fact that this Cell contains the component corresponding to the given property.

Validation callbacks are only actually added during implementBindValidations, which is called by finalize, because the validation callbacks should not precede auto-fix callbacks such as those added by com.fwdekker.randomness.ui.bindSpinners, for example.