Packageorg.apache.flex.core
Interfacepublic interface IContainer extends IParent
Implementors Container, ControlBar

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

The IContainer interface is used to mark certain components as Containers. While most components are containers in the sense that they are composited from a set of child components, the term Container is commonly used in Flex to denote components that take an arbitrary set or sets of children and do not try to abstract away that fact.



Public Properties
 PropertyDefined By
 InheritednumElements : int
[read-only] The number of elements in the parent.
IParent
Public Methods
 MethodDefined By
 Inherited
addElement(c:Object):void
Add a component to the parent.
IParent
 Inherited
addElementAt(c:Object, index:int):void
Add a component to the parent.
IParent
  
This method is called after children have been added to the container so the container doesn't have to re-layout as each child is added.
IContainer
  
getChildren():Array
This method returns an array of the content children of the container.
IContainer
 Inherited
getElementIndex(c:Object):int
Gets the index of this subcomponent.
IParent
 Inherited
removeElement(c:Object):void
Remove a component from the parent.
IParent
Method Detail
childrenAdded()method
public function childrenAdded():void

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

This method is called after children have been added to the container so the container doesn't have to re-layout as each child is added.

getChildren()method 
public function getChildren():Array

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

This method returns an array of the content children of the container.

Returns
Array