org.kuali.student.common.ui.client.configurable.mvc.sections
Class SectionBinding
java.lang.Object
org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport<Section>
org.kuali.student.common.ui.client.configurable.mvc.sections.SectionBinding
- All Implemented Interfaces:
- ModelWidgetBinding<Section>
public class SectionBinding
- extends ModelWidgetBindingSupport<Section>
Model widget binding for a section - calls the bindings on its fields and sub sections. Special handling
for sections which can have their sections deleted by the user.
- Author:
- Kuali Student Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static SectionBinding INSTANCE
SectionBinding
private SectionBinding()
setModelValue
public void setModelValue(Section section,
DataModel model,
String path)
- Description copied from interface:
ModelWidgetBinding
- Sets the model with the value from the widget
- Parameters:
section
- Widget to interpret the data frompath
- where in the model to store the data- See Also:
ModelWidgetBinding.setModelValue(java.lang.Object,
org.kuali.student.common.ui.client.mvc.DataModel, java.lang.String)
setValue
private void setValue(DataModel model,
String path,
Object value)
setWidgetValue
public void setWidgetValue(Section section,
DataModel model,
String path)
- Description copied from interface:
ModelWidgetBinding
- Sets the passed in widget with the appropriate data from the model
- Parameters:
section
- the widget to have its value setmodel
- DataModel to retrieve the data frompath
- where in the model to get the data- See Also:
ModelWidgetBinding.setWidgetValue(java.lang.Object,
org.kuali.student.common.ui.client.mvc.DataModel, java.lang.String)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.