Packagecom.asfusion.mate.core
Classpublic class Binder

Binder is a helper class used to bind properties of two objects



Protected Properties
 PropertyDefined by
  soft : Boolean
Binder
Public Methods
 MethodDefined by
  
Binder(soft:Boolean = false)
Binder
  
bind(scope:IScope, target:Object, targetKey:String, source:Object, sourceKey:String):Boolean
The function that implements the binding between two objects.
Binder
  
bindProperty(site:Object, prop:String, host:Object, chain:Object, commitOnly:Boolean = false):SoftChangeWatcher
[static]
Binder
Property detail
softproperty
protected var soft:Boolean
Constructor detail
Binder()constructor
public function Binder(soft:Boolean = false)Parameters
soft:Boolean (default = false)
Method detail
bind()method
public function bind(scope:IScope, target:Object, targetKey:String, source:Object, sourceKey:String):Boolean

The function that implements the binding between two objects.

Parameters
scope:IScope
 
target:Object
 
targetKey:String
 
source:Object
 
sourceKey:String

Returns
Boolean
bindProperty()method 
public static function bindProperty(site:Object, prop:String, host:Object, chain:Object, commitOnly:Boolean = false):SoftChangeWatcherParameters
site:Object
 
prop:String
 
host:Object
 
chain:Object
 
commitOnly:Boolean (default = false)

Returns
SoftChangeWatcher