org.kuali.student.common.ui.client.configurable.mvc.binding
Class SelectItemWidgetBinding

java.lang.Object
  extended by org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport<KSSelectItemWidgetAbstract>
      extended by org.kuali.student.common.ui.client.configurable.mvc.binding.SelectItemWidgetBinding
All Implemented Interfaces:
ModelWidgetBinding<KSSelectItemWidgetAbstract>

public class SelectItemWidgetBinding
extends ModelWidgetBindingSupport<KSSelectItemWidgetAbstract>

Model widget binding for KSSelectItemWidgetAbstract widgets

Author:
Kuali Student Team

Field Summary
static SelectItemWidgetBinding INSTANCE
           
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport
DIRTY_PATH, RUNTIME_ROOT
 
Constructor Summary
private SelectItemWidgetBinding()
           
 
Method Summary
 Data.Value getWidgetValue(KSSelectItemWidgetAbstract object)
          Helper method get list item widget's values as a Data object
 void setModelValue(KSSelectItemWidgetAbstract object, DataModel model, String path)
          Sets the model with the value from the widget
 void setWidgetValue(KSSelectItemWidgetAbstract object, DataModel model, String path)
          Sets the passed in widget with the appropriate data from the model
 void setWidgetValue(KSSelectItemWidgetAbstract object, Object value)
          Helper method to set Data object to a list item widget
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport
ensureDirtyFlagPath, nullsafeEquals, nullsafeEquals, setDirtyFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static SelectItemWidgetBinding INSTANCE
Constructor Detail

SelectItemWidgetBinding

private SelectItemWidgetBinding()
Method Detail

setModelValue

public void setModelValue(KSSelectItemWidgetAbstract 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(KSSelectItemWidgetAbstract 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

getWidgetValue

public Data.Value getWidgetValue(KSSelectItemWidgetAbstract object)
Helper method get list item widget's values as a Data object

Parameters:
object -
value -
Returns:

setWidgetValue

public void setWidgetValue(KSSelectItemWidgetAbstract object,
                           Object value)
Helper method to set Data object to a list item widget

Parameters:
object -
value -


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.