org.kuali.student.common.ui.client.configurable.mvc.binding
Class HasTextBinding
java.lang.Object
   org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport<com.google.gwt.user.client.ui.HasText>
org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport<com.google.gwt.user.client.ui.HasText>
       org.kuali.student.common.ui.client.configurable.mvc.binding.HasTextBinding
org.kuali.student.common.ui.client.configurable.mvc.binding.HasTextBinding
- All Implemented Interfaces: 
- ModelWidgetBinding<com.google.gwt.user.client.ui.HasText>
- public class HasTextBinding 
- extends ModelWidgetBindingSupport<com.google.gwt.user.client.ui.HasText>
Model widget binding for HasText widgets which translates from string values to the necessary data
 type for the model and vice versa.  
 
Some standard GWT widgets which implement HasText are TextBox and TextArea.
- Author:
- Kuali Student Team
 
 
 
| Method Summary | 
|  void | setModelValue(com.google.gwt.user.client.ui.HasText object,
                           DataModel model,
                           String path)Sets the model with the value from the widget
 | 
|  void | setWidgetValue(com.google.gwt.user.client.ui.HasText 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 HasTextBinding INSTANCE
dateParser
private ClientDateParser dateParser
HasTextBinding
private HasTextBinding()
setModelValue
public void setModelValue(com.google.gwt.user.client.ui.HasText 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 from
- path- where in the model to store the data
 
setWidgetValue
public void setWidgetValue(com.google.gwt.user.client.ui.HasText 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 set
- model- DataModel to retrieve the data from
- path- where in the model to get the data
 
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.