org.kuali.student.common.ui.client.configurable.mvc.binding
Class MultiplicityGroupBinding
java.lang.Object
org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport<MultiplicityGroup>
org.kuali.student.common.ui.client.configurable.mvc.binding.MultiplicityGroupBinding
- All Implemented Interfaces:
- ModelWidgetBinding<MultiplicityGroup>
public class MultiplicityGroupBinding
- extends ModelWidgetBindingSupport<MultiplicityGroup>
This goes through each item in the MultiplicityGroup and calls it's binding
- 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 MultiplicityGroupBinding INSTANCE
MultiplicityGroupBinding
public MultiplicityGroupBinding()
setModelValue
public void setModelValue(MultiplicityGroup mcWidget,
DataModel model,
String path)
- Description copied from interface:
ModelWidgetBinding
- Sets the model with the value from the widget
- Parameters:
mcWidget
- Widget to interpret the data frompath
- where in the model to store the data- See Also:
ModelWidgetBinding.setModelValue(Object,
org.kuali.student.common.ui.client.mvc.DataModel, String)
setWidgetValue
public void setWidgetValue(MultiplicityGroup mg,
DataModel model,
String path)
- Description copied from interface:
ModelWidgetBinding
- Sets the passed in widget with the appropriate data from the model
- Parameters:
mg
- 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(Object,
org.kuali.student.common.ui.client.mvc.DataModel, String)
isItemDeleted
public boolean isItemDeleted(DataModel model,
String path,
Integer index,
MultiplicityGroup mcWidget)
- Checks to see if an item at the given index in the multiplicity has been deleted
- Parameters:
model
- path
- index
-
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.