![JAR search and dependency download from the Maven repository](/logo.png)
com.extjs.gxt.ui.client.binding.Converter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Sencha GXT 2.3.0 - Sencha for GWT
* Copyright(c) 2007-2013, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.extjs.gxt.ui.client.binding;
/**
* Provides a mechanism to convert data when passing values between model and
* fields.
*/
public abstract class Converter {
/**
* Converts the model's value before being set on the field.
*
* @param value the model value
* @return the field value
*/
public Object convertModelValue(Object value) {
return value;
}
/**
* Converts the field's value before being set on the model.
*
* @param value the field value
* @return the model value
*/
public Object convertFieldValue(Object value) {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy