tornadofx / tornadofx / javafx.scene.control.Spinner

Extensions for javafx.scene.control.Spinner

bind fun <T> Spinner<T>.bind(property: ObservableValue<T>, readonly: Boolean = false): Unit
validator fun <T> Spinner<T>.validator(trigger: ValidationTrigger = ValidationTrigger.OnChange(), validator: ValidationContext.(T?) -> ValidationMessage?): <ERROR CLASS>

Add a validator to a Spinner that is already bound to a model property.