FormModel provides builders for creating {@link FieldModel}s, {@link FormattedFieldModel}s and {@link ListFieldModel}. Widgets can then be bound to these models using a {@link com.pietschy.gwt.pectin.client.form.binding.FormBinder}.
FormModels also allow support properties to allow plugins to store additional information and {@link BindingCallback}s to hook into the binding process.
@see #fieldOfType(Class) @see #formattedFieldOfType(Class) @see #listOfType(Class)A formModel groups valueModels and actions that are related to the same backing object. It will manage the creation/handling of the valueModels, their associated metadata and an overal state.
The formModel can be in one of three 'user' states:
The formModel also tracks its inner states:
|
|
|
|