com.sencha.gxt.core.client
Interface ValueProvider<T,V>

Type Parameters:
T - the target object type
V - the property type
All Known Implementing Classes:
IdentityValueProvider, ToStringValueProvider

public interface ValueProvider<T,V>

Returns the property value of the target object.

See Also:
PropertyAccess

Method Summary
 String getPath()
          Returns the path that this ValueProvider makes available, from the object, to the value.
 V getValue(T object)
          Returns the property value of the given object.
 void setValue(T object, V value)
          Sets the value of the given object
 

Method Detail

getValue

V getValue(T object)
Returns the property value of the given object.

Parameters:
object - the target object
Returns:
the property value

setValue

void setValue(T object,
              V value)
Sets the value of the given object

Parameters:
object -
value -

getPath

String getPath()
Returns the path that this ValueProvider makes available, from the object, to the value.

Returns:
the path from the object to the value


Copyright © 2012. All Rights Reserved.