PropertyBinder is used to populate object's properties by copying values
from other objects. The target object should be an instance of a class that contains
accessor or setter functions for the properties that are found in the source.
public function PropertyBinder(object:Object, extraProps:String = null)
Creates a new property binder for the specified target object.
Parameters
| object:Object — the target object into which the properties will be copid to
|
| |
| extraProps:String (default = null) — a property name for all properties for which the target does not provide an accessor or a setter function
|
public function copyProperties(source:Object, overwrite:Boolean = true):ObjectParameters
| source:Object |
| |
| overwrite:Boolean (default = true) |
Returns
public function copyProperty(prop:String, value:Object, convertType:Boolean = false):voidParameters
| prop:String |
| |
| value:Object |
| |
| convertType:Boolean (default = false) |