ERXLazyValue< T >.KVCSource< T > Class Reference

Collaboration diagram for ERXLazyValue< T >.KVCSource< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KVCSource (Object target, String keyPath)
void setValue (T value)
String toString ()
value ()

Private Attributes

String _keyPath
Object _target


Detailed Description

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").

Author:
mschrag
Parameters:
<T> the type of the value

Constructor & Destructor Documentation

KVCSource ( Object  target,
String  keyPath 
)

Constructs a new KVCSource.

Parameters:
target the target of the KVC binding
keyPath the keypath to return a value from


Member Function Documentation

void setValue ( value  ) 

Sets the value of the keypath on the target.

Parameters:
value the new value

String toString (  ) 

T value (  ) 

Returns the value of the kaypath on the target.

Returns:
the value


Member Data Documentation

String _keyPath [private]

Object _target [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:13 2012 for Project Wonder by  doxygen 1.5.8