com.extjs.gxt.ui.client.binding
Class SimpleComboBoxFieldBinding

java.lang.Object
  extended by com.extjs.gxt.ui.client.binding.FieldBinding
      extended by com.extjs.gxt.ui.client.binding.SimpleComboBoxFieldBinding

public class SimpleComboBoxFieldBinding
extends FieldBinding

A specialized binding that automatically handles data conversion when using a SimpleComboBox.


Field Summary
protected  SimpleComboBox simpleComboBox
           
 
Fields inherited from class com.extjs.gxt.ui.client.binding.FieldBinding
field, model, property, store
 
Constructor Summary
SimpleComboBoxFieldBinding(SimpleComboBox field, java.lang.String property)
          Creates a new simplecombobox field binding instance.
 
Method Summary
protected  java.lang.Object onConvertFieldValue(java.lang.Object value)
           
protected  java.lang.Object onConvertModelValue(java.lang.Object value)
           
 
Methods inherited from class com.extjs.gxt.ui.client.binding.FieldBinding
bind, getConverter, getField, getModel, getProperty, getStore, isUpdateOriginalValue, onFieldChange, onModelChange, setConverter, setStore, setUpdateOriginalValue, unbind, updateField, updateField, updateModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleComboBox

protected SimpleComboBox simpleComboBox
Constructor Detail

SimpleComboBoxFieldBinding

public SimpleComboBoxFieldBinding(SimpleComboBox field,
                                  java.lang.String property)
Creates a new simplecombobox field binding instance.

Parameters:
field - the simple combo box
property - the property name
Method Detail

onConvertFieldValue

protected java.lang.Object onConvertFieldValue(java.lang.Object value)
Overrides:
onConvertFieldValue in class FieldBinding

onConvertModelValue

protected java.lang.Object onConvertModelValue(java.lang.Object value)
Overrides:
onConvertModelValue in class FieldBinding