org.kuali.student.lum.program.client.widgets
Class DateBinding

java.lang.Object
  extended by org.kuali.student.lum.program.client.widgets.DateBinding
All Implemented Interfaces:
ModelWidgetBinding<KSDatePicker>

 class DateBinding
extends Object
implements ModelWidgetBinding<KSDatePicker>

Author:
Igor

Constructor Summary
DateBinding()
           
 
Method Summary
 void setModelValue(KSDatePicker widget, DataModel model, String path)
          Sets the model with the value from the widget
 void setWidgetValue(KSDatePicker widget, 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
 

Constructor Detail

DateBinding

DateBinding()
Method Detail

setModelValue

public void setModelValue(KSDatePicker widget,
                          DataModel model,
                          String path)
Description copied from interface: ModelWidgetBinding
Sets the model with the value from the widget

Specified by:
setModelValue in interface ModelWidgetBinding<KSDatePicker>
Parameters:
widget - Widget to interpret the data from
path - where in the model to store the data

setWidgetValue

public void setWidgetValue(KSDatePicker widget,
                           DataModel model,
                           String path)
Description copied from interface: ModelWidgetBinding
Sets the passed in widget with the appropriate data from the model

Specified by:
setWidgetValue in interface ModelWidgetBinding<KSDatePicker>
Parameters:
widget - the widget to have its value set
model - DataModel to retrieve the data from
path - where in the model to get the data


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