com.sencha.gxt.legacy.client.data
Class ModelDataValueProvider<V>
java.lang.Object
com.sencha.gxt.legacy.client.data.ModelDataValueProvider<V>
- Type Parameters:
V - the property type
- All Implemented Interfaces:
- ValueProvider<ModelData,V>
public class ModelDataValueProvider<V>
- extends Object
- implements ValueProvider<ModelData,V>
Simple ValueProvider implementation that can work with a ModelData
class, fetching properties with the given string key.
ModelDataValueProvider
public ModelDataValueProvider(String property)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getPath
public String getPath()
- Specified by:
getPath in interface ValueProvider<ModelData,V>
getValue
public V getValue(ModelData object)
- Specified by:
getValue in interface ValueProvider<ModelData,V>
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
setValue
public void setValue(ModelData object,
V value)
- Specified by:
setValue in interface ValueProvider<ModelData,V>
Copyright © 2011. All Rights Reserved.