![JAR search and dependency download from the Maven repository](/logo.png)
com.extjs.gxt.ui.client.data.ModelProcessor Maven / Gradle / Ivy
/*
* Sencha GXT 2.3.1a - Sencha for GWT
* Copyright(c) 2007-2013, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.extjs.gxt.ui.client.data;
/**
* Provides a convenient method to provide "formatted" data when using
* templates. Rather than formatting a model value directly, new properties can
* be set with the formatted values directly on the model. The template then can
* refer to these new properties.
*
* @param the model type
*/
public abstract class ModelProcessor {
/**
* Returns the model to be rendered.
*
* @param model the model
* @return the updated or new model
*/
public abstract M prepareData(M model);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy