|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.extensions.foundation.ERXLazyValue.KVCSource<T>
T
- the type of the valuepublic static class ERXLazyValue.KVCSource<T>
KVCSource provides a wrapper around a KVC binding, which is very useful in components. As an example, you might have your people() method return a lazy value that is bound to a KVCSource<Person>(this, "uncachedPeople").
Constructor Summary | |
---|---|
ERXLazyValue.KVCSource(java.lang.Object target,
java.lang.String keyPath)
Constructs a new KVCSource. |
Method Summary | |
---|---|
void |
setValue(T value)
Sets the value of the keypath on the target. |
java.lang.String |
toString()
|
T |
value()
Returns the value of the kaypath on the target. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ERXLazyValue.KVCSource(java.lang.Object target, java.lang.String keyPath)
target
- the target of the KVC bindingkeyPath
- the keypath to return a value fromMethod Detail |
---|
public T value()
value
in interface ERXLazyValue.Source<T>
public void setValue(T value)
setValue
in interface ERXLazyValue.Source<T>
value
- the new valuepublic java.lang.String toString()
toString
in class java.lang.Object
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |