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

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

public class RichTextBinding
extends ModelWidgetBindingSupport<RichTextEditor>

Sets to and from model data that is marked as rich text (it has plain and formatted text in the model)

Author:
Kuali Student Team

Field Summary
static RichTextBinding INSTANCE
           
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport
DIRTY_PATH, RUNTIME_ROOT
 
Constructor Summary
private RichTextBinding()
           
 
Method Summary
 void setModelValue(RichTextEditor object, DataModel model, String path)
          Sets the model with the value from the widget
 void setWidgetValue(RichTextEditor object, DataModel model, String path)
          Sets the passed in widget with the appropriate data from the model
 
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 RichTextBinding INSTANCE
Constructor Detail

RichTextBinding

private RichTextBinding()
Method Detail

setModelValue

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


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