Package | org.apache.flex.html |
Class | public class Container |
Inheritance | Container ![]() ![]() ![]() |
Implements | IContainer |
Subclasses | ControlBar, NumericStepper, Panel, TitleBar |
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Default MXML PropertymxmlContent
Method | Defined By | ||
---|---|---|---|
Constructor. | Container | ||
![]() |
Add a bead to the strand. | UIBase | |
![]() | addedToParent():void [override]
A ContainerBase doesn't create its children until it is added to
a parent. | ContainerBase | |
![]() | addElement(c:Object):void
Add a component to the parent. | UIBase | |
![]() | addElementAt(c:Object, index:int):void
Add a component to the parent. | UIBase | |
![]() | generateMXMLAttributes(data:Array):void
An method called by the compiler's generated
code to kick off the setting of MXML attribute
values and instantiation of child tags. | ContainerBase | |
![]() | getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand. | UIBase | |
getChildren():Array
Get the array of children. | Container | ||
![]() | getElementIndex(c:Object):int
Gets the index of this subcomponent. | UIBase | |
![]() | hasState(state:String):Boolean
true if the array of states
contains a state with this name. | ContainerBase | |
![]() |
Remove a bead from the strand. | UIBase | |
![]() | removeElement(c:Object):void
Remove a component from the parent. | UIBase | |
setActualParent(parent:DisplayObjectContainer):void
Set a platform-specific object as the actual parent for
children. | Container |
Container | () | Constructor |
public function Container()
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Constructor.
getChildren | () | method |
public function getChildren():Array
Get the array of children. To change the children use addElement, removeElement.
ReturnsArray |
setActualParent | () | method |
public function setActualParent(parent:DisplayObjectContainer):void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Set a platform-specific object as the actual parent for children. This must be public so it can be accessed by beads.
Parameters
parent:DisplayObjectContainer |