|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelWidgetBinding<WidgetType>
A model widget binding is used to translate data from the model to something the client side widget can use to display it's data. It is also used to translate from widget data to the appropriate expected model data.
Method Summary | |
---|---|
void |
setModelValue(WidgetType widget,
DataModel model,
String path)
Sets the model with the value from the widget |
void |
setWidgetValue(WidgetType widget,
DataModel model,
String path)
Sets the passed in widget with the appropriate data from the model |
Method Detail |
---|
void setModelValue(WidgetType widget, DataModel model, String path)
widget
- Widget to interpret the data fromDataModel
- model to have a value/values added topath
- where in the model to store the datavoid setWidgetValue(WidgetType widget, DataModel model, String path)
widget
- the widget to have its value setmodel
- DataModel to retrieve the data frompath
- where in the model to get the data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |