Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The IParent interface is the basic interface for a
component that contains subcomponents, including the
application class.
numElements:int
[read-only]
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The number of elements in the parent.
Implementation public function get numElements():int
public function addElement(c:Object):void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Add a component to the parent.
Parameters
| c:Object — The subcomponent to add.
|
public function addElementAt(c:Object, index:int):void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Add a component to the parent.
Parameters
| c:Object — The subcomponent to add.
|
|
| index:int — The index where the subcomponent should be added.
|
public function getElementIndex(c:Object):int
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Gets the index of this subcomponent.
Parameters
| c:Object — The subcomponent to add.
|
Returns | int — The index (zero-based).
|
public function removeElement(c:Object):void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Remove a component from the parent.
Parameters
| c:Object — The subcomponent to remove.
|
Fri Apr 18 2014, 11:02 PM -07:00