| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Binding
Binding declares the methods to 'bind' (i.e. 'load' and 'save') information elements from some back-end model (2nd argument) to and from a existing Woody Widget.
| Method Summary | |
|---|---|
|  Binding | getClass(String id)Gets a binding class. | 
|  String | getId()Gets binding definition id. | 
|  void | loadFormFromModel(Widget frmModel,
                  Object objModel)Loads the information-elements from the objModel to the frmModel. | 
|  void | saveFormToModel(Widget frmModel,
                Object objModel)Saves the infortmation-elements to the objModel from the frmModel. | 
|  void | setParent(Binding binding)Sets parent binding. | 
| Method Detail | 
|---|
void setParent(Binding binding)
binding - Parent of this binding.String getId()
Binding getClass(String id)
id - Id of binding class to get.
void loadFormFromModel(Widget frmModel,
                       Object objModel)
                       throws BindingException
frmModel - objModel - 
BindingException
void saveFormToModel(Widget frmModel,
                     Object objModel)
                     throws BindingException
frmModel - objModel - 
BindingException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||