Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IContainer

Package | org.apache.flex.core
Interface | public interface IContainer extends IParent
Implementors | ContainerBase, ControlBar, HContainer, VContainer

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
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | numElements : int [read-only] The number of elements in the parent. | IParent

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | addElement(c:Object, dispatchEvent:Boolean = true):void Add a component to the parent. | IParent
|  | addElementAt(c:Object, index:int, dispatchEvent:Boolean = true):void Add a component to the parent. | IParent
|  | childrenAdded():void 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
|  | getElementAt(index:int):Object Get a component from the parent. | IParent
|  | getElementIndex(c:Object):int Gets the index of this subcomponent. | IParent
|  | removeElement(c:Object, dispatchEvent:Boolean = true):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.

Mon Sep 5 2016, 07:19 AM -07:00