@Service(value=FormBindingFactory.class) public class DefaultFormBindingFactory extends AbstractBindingFactory implements FormBindingFactory
| Constructor and Description |
|---|
DefaultFormBindingFactory()
Creates a form binding factory.
|
| Modifier and Type | Method and Description |
|---|---|
FormComponentBinder |
createFormComponentBinder(FormContainer container)
Creates a component binder.
|
FormComponentBinding |
createFormComponentBinding(FormComponentBinder binder,
BindingMember[] parents,
BindingMember member,
FormComponent component,
String componentOptions)
Creates a component binding.
|
FormTableBinder |
createFormTableBinder(BindableTableModel model)
Creates a table binder.
|
FormTableBinding |
createFormTableBinding(FormTableBinder binder,
BindingMember[] parents,
BindingMember member,
int mColumn,
String columnOptions)
Creates a table binding.
|
Class<? extends FormComponentBinding> |
getFormComponentBindingClass(Class<? extends FormComponent> componentClass)
Gets the binding class for a given component class.
|
Class<? extends FormTableBinding> |
getFormTableBindingClass(Class<?> modelClass)
Gets the table binding class for a given model class.
|
Class<? extends FormComponentBinding> |
setFormComponentBindingClass(Class<? extends FormComponent> componentClass,
Class<? extends FormComponentBinding> bindingClass)
Defines the binding for a component class.
|
Class<? extends FormTableBinding> |
setFormTableBindingClass(Class<?> modelClass,
Class<? extends FormTableBinding> bindingClass)
Defines the table binding for a model class.
|
createBindableElement, createBindingMember, getBindableCache, getBindableElementClass, putBindableElementClassclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateBindableElement, createBindingMember, getBindableCache, getBindableElementClass, putBindableElementClasspublic DefaultFormBindingFactory()
public Class<? extends FormComponentBinding> setFormComponentBindingClass(Class<? extends FormComponent> componentClass, Class<? extends FormComponentBinding> bindingClass)
FormBindingFactorysetFormComponentBindingClass in interface FormBindingFactorycomponentClass - the component classbindingClass - the binding classpublic Class<? extends FormComponentBinding> getFormComponentBindingClass(Class<? extends FormComponent> componentClass)
FormBindingFactorygetFormComponentBindingClass in interface FormBindingFactorycomponentClass - the component classpublic Class<? extends FormTableBinding> setFormTableBindingClass(Class<?> modelClass, Class<? extends FormTableBinding> bindingClass)
FormBindingFactorysetFormTableBindingClass in interface FormBindingFactorymodelClass - the model classbindingClass - the binding classpublic Class<? extends FormTableBinding> getFormTableBindingClass(Class<?> modelClass)
FormBindingFactorygetFormTableBindingClass in interface FormBindingFactorymodelClass - the model classpublic FormComponentBinding createFormComponentBinding(FormComponentBinder binder, BindingMember[] parents, BindingMember member, FormComponent component, String componentOptions)
FormBindingFactoryNotice: this method must be implemented by the concrete factory.
createFormComponentBinding in interface FormBindingFactorybinder - the binder managing the bindingparents - the members building the declaration chain to this member, null if this binding's member is in containermember - the member field to bindcomponent - the GUI-component to bindcomponentOptions - options to configure the component.public FormComponentBinder createFormComponentBinder(FormContainer container)
FormBindingFactoryNotice: this method must be implemented by the concrete factory.
createFormComponentBinder in interface FormBindingFactorycontainer - the container for the created binderpublic FormTableBinding createFormTableBinding(FormTableBinder binder, BindingMember[] parents, BindingMember member, int mColumn, String columnOptions)
FormBindingFactoryNotice: this method must be implemented by the concrete factory.
createFormTableBinding in interface FormBindingFactorybinder - the binder managing the bindingparents - the members building the declaration chain to this member, null if this binding's member is in containermember - the member field to bindmColumn - the model columncolumnOptions - options to configure the columnpublic FormTableBinder createFormTableBinder(BindableTableModel model)
FormBindingFactoryNotice: this method must be implemented by the concrete factory.
createFormTableBinder in interface FormBindingFactorymodel - the table modelTentackle - a domain driven enterprise framework