public interface FormComponentBinder extends Binder
| Modifier and Type | Method and Description |
|---|---|
int |
bindWithInheritedBindables()
Binds with bindable inheritance.
|
int |
bindWithInheritedComponents()
Binds with form inheritance.
|
FormComponentBinding |
getBinding(FormComponent component)
Gets a binding by component.
|
FormComponentBinding |
getBinding(String bindingPath) |
Collection<FormComponent> |
getBoundComponents()
Gets the list of all bound components of this form.
|
List<? extends Binding> |
getChangeableBindings()
Gets the dynamically changeable bindings.
|
FormContainer |
getFormContainer()
Gets the container bound by this binder.
|
List<? extends Binding> |
getMandatoryBindings()
Gets the dynamically mandatory bindings.
|
Collection<FormComponent> |
getUnboundComponents()
Gets the list of all unbound components of this form.
|
FormComponentBinding |
removeBinding(FormComponent component)
Programmatically removes a binding from this form.
|
FormComponentBinding |
removeBinding(String bindingPath) |
void |
requestChangeableUpdate()
Request to update the changeable attribute of all dynamically mandatory components.
Used by FormContainer.setFormValues() and FormContainer.setFormValuesKeepChanged(). |
void |
requestMandatoryUpdate()
Request to update the mandatory attribute of all dynamically mandatory components.
Used by FormContainer.setFormValues() and FormContainer.setFormValuesKeepChanged(). |
addBinding, addToModelListener, addToViewListener, addValidationListener, assertAllBound, bind, bindAllInherited, fireToModel, fireToView, fireValidated, getBindingProperty, getBindingProperty, getBindings, getInstanceNumber, getToModelListeners, getToViewListeners, getValidationListeners, getValidationScope, putBindingProperty, removeToModelListener, removeToViewListener, removeValidationListener, setValidationScope, unbindcompareToFormContainer getFormContainer()
int bindWithInheritedComponents()
The form will be scanned for members or submembers
annotated with the Bindable-annotation.
Inherited members of the form's parent classes
will be included as well.
Notice that the object references are not kept in the binding.
CAUTION: expensive operation!
int bindWithInheritedBindables()
The form will be scanned for members or submembers
annotated with the Bindable-annotation.
Inherited members of all bindables will be included as well.
Notice that the object references are not kept in the binding.
CAUTION: expensive operation!
FormComponentBinding getBinding(FormComponent component)
component - the component assigned to the bindingFormComponentBinding getBinding(String bindingPath)
Overridden to cast.
getBinding in interface BinderCollection<FormComponent> getBoundComponents()
Collection<FormComponent> getUnboundComponents()
FormComponentBinding removeBinding(FormComponent component)
component - the component assigned to the bindingFormComponentBinding removeBinding(String bindingPath)
Overridden to cast.
removeBinding in interface BinderList<? extends Binding> getMandatoryBindings()
void requestMandatoryUpdate()
FormContainer.setFormValues() and FormContainer.setFormValuesKeepChanged().List<? extends Binding> getChangeableBindings()
void requestChangeableUpdate()
FormContainer.setFormValues() and FormContainer.setFormValuesKeepChanged().Tentackle - distributed, domain- and model-driven