|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.core.client.IdentityValueProvider<T>
T - the property typepublic class IdentityValueProvider<T>
A read-only ValueProvider that simply returns the model as the
property value. Useful when wanting to work directly with the model, rather
than a property.
| Constructor Summary | |
|---|---|
IdentityValueProvider()
Creates a new value provider with an empty string for the path. |
|
IdentityValueProvider(java.lang.String path)
Creates a new value provider. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPath()
Returns the path that this ValueProvider makes available, from the object, to the value. |
T |
getValue(T object)
Returns the property value of the given object. |
void |
setValue(T object,
T 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 IdentityValueProvider()
public IdentityValueProvider(java.lang.String path)
path - the path| Method Detail |
|---|
public void setValue(T object,
T value)
ValueProvider
setValue in interface ValueProvider<T,T>public T getValue(T object)
ValueProvider
getValue in interface ValueProvider<T,T>object - the target object
public java.lang.String getPath()
ValueProvider
getPath in interface ValueProvider<T,T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||