bindChildren() after all input controls is initiated with propertyName. That method will trigger the form to scan components inside it. When
setValueObject(T valueObject) is called, form will set the value for all scanned input controls. To populate user’s change that is entered in input controls, call
setMode(Mode mode) to toggle between EDIT, INSERT and READ mode. Input controls will be disable in READ mode.
Input control can have multiple validators. Call
addValidator(Validator<T> validator) to add a validator. The validator will be executed when Form’s
validate() is called. If an input control is invalid, an exclamation mark will be displayed next to it. Hover mouse above it and a validation error message will be displayed under the input controls.
The validation error message is defined by
Validator implementation class that is added to the input control.