|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Binder
A Binder is responsible for creating a binding between a form model's property and a control that may be used to visualize and/or edit that property.
Method Summary | |
---|---|
Binding |
bind(FormModel formModel,
String formPropertyPath,
Map context)
Returns a binding between a form model's property and a control that will be created by this Binder. |
Binding |
bind(JComponent control,
FormModel formModel,
String formPropertyPath,
Map context)
Returns a binding between a form model's property and the provided control. |
Method Detail |
---|
Binding bind(FormModel formModel, String formPropertyPath, Map context)
formModel
- the form model that this binding is forformModel
- the property that this binding is forcontext
- additional context that may be used by this binder.
UnsupportedOperationException
- if this binder is unable to create its
own controlBinding bind(JComponent control, FormModel formModel, String formPropertyPath, Map context)
control
- the visual control that will be bound to the form model's property.formModel
- the form model that this binding is forformModel
- the property that this binding is forcontext
- additional context that may be used by this binder
UnsupportedOperationException
- if this binder is unable to bind the
provided control or if this binder is unable to bind a provided control
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |