org.kuali.student.lum.common.client.lo
Class TreeStringBinding

java.lang.Object
  extended by org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport<KSListPanel>
      extended by org.kuali.student.lum.common.client.lo.TreeStringBinding
All Implemented Interfaces:
ModelWidgetBinding<KSListPanel>

public class TreeStringBinding
extends ModelWidgetBindingSupport<KSListPanel>

Author:
Igor

Nested Class Summary
private static class TreeStringBinding.StringTreeStructure
           
 
Field Summary
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport
DIRTY_PATH, RUNTIME_ROOT
 
Constructor Summary
TreeStringBinding()
           
 
Method Summary
private  void addElement(TreeStringBinding.StringTreeStructure element, KSListPanel listPanel)
           
private  void bind(TreeStringBinding.StringTreeStructure stringTreeStructure, KSListPanel ksListPanel)
           
 void setModelValue(KSListPanel widget, DataModel model, String path)
          Sets the model with the value from the widget
 void setWidgetValue(KSListPanel listPanel, DataModel model, String path)
          Sets the passed in widget with the appropriate data from the model
private  void transform(Data loData, TreeStringBinding.StringTreeStructure rootModel)
           
 
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
 

Constructor Detail

TreeStringBinding

public TreeStringBinding()
Method Detail

setModelValue

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

Parameters:
widget - Widget to interpret the data from
path - where in the model to store the data

setWidgetValue

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

Parameters:
listPanel - the widget to have its value set
model - DataModel to retrieve the data from
path - where in the model to get the data

transform

private void transform(Data loData,
                       TreeStringBinding.StringTreeStructure rootModel)

bind

private void bind(TreeStringBinding.StringTreeStructure stringTreeStructure,
                  KSListPanel ksListPanel)

addElement

private void addElement(TreeStringBinding.StringTreeStructure element,
                        KSListPanel listPanel)


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