org.kuali.student.common.ui.client.configurable.mvc.binding
Class HasValueBinding
java.lang.Object
org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport<com.google.gwt.user.client.ui.HasValue>
org.kuali.student.common.ui.client.configurable.mvc.binding.HasValueBinding
- All Implemented Interfaces:
- ModelWidgetBinding<com.google.gwt.user.client.ui.HasValue>
public class HasValueBinding
- extends ModelWidgetBindingSupport<com.google.gwt.user.client.ui.HasValue>
Model widget binding for HasValue widgets. HasValue widgets can return any object type, so the
to from translated is done with known/expected types for KS.
- Author:
- Kuali Student Team
Method Summary |
void |
setModelValue(com.google.gwt.user.client.ui.HasValue object,
DataModel model,
String path)
Sets the model with the value from the widget |
void |
setWidgetValue(com.google.gwt.user.client.ui.HasValue object,
DataModel model,
String path)
Sets the passed in widget with the appropriate data from the model |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static HasValueBinding INSTANCE
setModelValue
public void setModelValue(com.google.gwt.user.client.ui.HasValue object,
DataModel model,
String path)
- Description copied from interface:
ModelWidgetBinding
- Sets the model with the value from the widget
- Parameters:
object
- Widget to interpret the data frompath
- where in the model to store the data
setWidgetValue
public void setWidgetValue(com.google.gwt.user.client.ui.HasValue object,
DataModel model,
String path)
- Description copied from interface:
ModelWidgetBinding
- Sets the passed in widget with the appropriate data from the model
- Parameters:
object
- the widget to have its value setmodel
- DataModel to retrieve the data frompath
- where in the model to get the data
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.