Packageorg.apache.flex.core
Interfacepublic interface IDocument
Implementors ChainBinding, ConstantBinding, DataProviderChangeNotifier, Fade, GenericBinding, ItemRendererClassFactory, Move, OneFlexibleChildHorizontalLayout, OneFlexibleChildVerticalLayout, Parallel, Resize, Sequence, Sequence, SimpleBinding, Tween, Wipe

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

The IDocument interface is the basic interface for objects that can be tags in an MXML document and need to know about the host document. It is similar to the IMXMLObject interface in the Flex SDK.



Public Methods
 MethodDefined By
  
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.
IDocument
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.