Packageorg.apache.flex.binding
Classpublic class ChainBinding
InheritanceChainBinding Inheritance Object
Implements IBead, IDocument

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The ChainBinding class is used to track changes of nested properties.



Public Properties
 PropertyDefined By
  destination : Object
The destination property name or chain.
ChainBinding
  source : Array
The source chain of property names
ChainBinding
  strand : IStrand
[write-only] The host component for this bead.
ChainBinding
  watcherChain : Object
The watcher for the component at document[source[0]]
ChainBinding
Protected Properties
 PropertyDefined By
  document : Object
The host mxml document for the source and destination objects.
ChainBinding
Public Methods
 MethodDefined By
  
Constructor.
ChainBinding
  
setDocument(document:Object, id:String = null):void
This method is called to notify an instance of what MXML document it belongs to, if any, and what its assigned id is in that document, if any.
ChainBinding
Property Detail
destinationproperty
public var destination:Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The destination property name or chain.

documentproperty 
protected var document:Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The host mxml document for the source and destination objects. The source object is either this document for simple bindings like {foo} where foo is a property on the mxml documnet, or found as document[sourceID] for simple bindings like {someid.someproperty}

sourceproperty 
public var source:Array

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The source chain of property names

strandproperty 
strand:IStrand  [write-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The host component for this bead.


Implementation
    public function set strand(value:IStrand):void
watcherChainproperty 
public var watcherChain:Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The watcher for the component at document[source[0]]

Constructor Detail
ChainBinding()Constructor
public function ChainBinding()

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Constructor.

Method Detail
setDocument()method
public function setDocument(document:Object, id:String = null):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

This method is called to notify an instance of what MXML document it belongs to, if any, and what its assigned id is in that document, if any.

Parameters

document:Object — The MXML document that hosts this component.
 
id:String (default = null) — The optional id of the component in the document.