com.sencha.gxt.legacy.client.binding
Class Converter

java.lang.Object
  extended by com.sencha.gxt.legacy.client.binding.Converter

public abstract class Converter
extends Object

Provides a mechanism to convert data when passing values between model and fields.


Constructor Summary
Converter()
           
 
Method Summary
 Object convertFieldValue(Object value)
          Converts the field's value before being set on the model.
 Object convertModelValue(Object value)
          Converts the model's value before being set on the field.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Converter

public Converter()
Method Detail

convertModelValue

public Object convertModelValue(Object value)
Converts the model's value before being set on the field.

Parameters:
value - the model value
Returns:
the field value

convertFieldValue

public Object convertFieldValue(Object value)
Converts the field's value before being set on the model.

Parameters:
value - the field value
Returns:
the model value


Copyright © 2011. All Rights Reserved.