|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.core.client.ToStringValueProvider<T>
T - the model typepublic class ToStringValueProvider<T>
A read-only ValueProvider implementation that simply call
Object.toString() on the target model. Calls to
setValue(Object, String) are ignored.
| Constructor Summary | |
|---|---|
ToStringValueProvider()
Creates a new value provider with an empty string for the path. |
|
ToStringValueProvider(String path)
Creates a new value provider. |
|
| Method Summary | |
|---|---|
String |
getPath()
Returns the path that this ValueProvider makes available, from the object, to the value. |
String |
getValue(T object)
Returns the property value of the given object. |
void |
setValue(T object,
String value)
Sets the value of the given object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToStringValueProvider()
public ToStringValueProvider(String path)
path - the path| Method Detail |
|---|
public String getValue(T object)
ValueProvider
getValue in interface ValueProvider<T,String>object - the target object
public void setValue(T object,
String value)
ValueProvider
setValue in interface ValueProvider<T,String>public String getPath()
ValueProvider
getPath in interface ValueProvider<T,String>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||