com.extjs.gxt.ui.client.data
Class BaseModelStringProvider<M extends ModelData>

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.BaseModelStringProvider<M>
All Implemented Interfaces:
ModelStringProvider<M>

public class BaseModelStringProvider<M extends ModelData>
extends java.lang.Object
implements ModelStringProvider<M>

Basic implementation of the ModelStringProvider interface. Simply calls toSring on the value.


Constructor Summary
BaseModelStringProvider()
           
 
Method Summary
 java.lang.String getStringValue(M model, java.lang.String property)
          Returns the string value for the property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseModelStringProvider

public BaseModelStringProvider()
Method Detail

getStringValue

public java.lang.String getStringValue(M model,
                                       java.lang.String property)
Description copied from interface: ModelStringProvider
Returns the string value for the property.

Specified by:
getStringValue in interface ModelStringProvider<M extends ModelData>
Parameters:
model - the model instance
property - the property name
Returns:
the string value