| Package | qnx.fuse.ui.core |
| Interface | public interface IContainer extends IInvalidating |
| Implementors | Container |
| Property | Defined By | ||
|---|---|---|---|
| contentHeight : Number [read-only]
Gets the height of the content. | IContainer | ||
| contentWidth : Number [read-only]
Gets the width of the content. | IContainer | ||
| layout : ILayout
Gets or sets the layout for the group. | IContainer | ||
| numChildren : int [read-only] | IContainer | ||
| scrollDirection : String | IContainer | ||
| Method | Defined By | ||
|---|---|---|---|
addChild(child:DisplayObject):DisplayObject | IContainer | ||
addChildAt(child:DisplayObject, index:int):DisplayObject | IContainer | ||
childChanged(resizedChild:DisplayObject = null):Boolean
Notifies the layout that the given child has changed either its size flags, the result of its measure method, or the
value of its layout data. | IContainer | ||
getChildAt(index:int):DisplayObject | IContainer | ||
![]() | invalidateDisplayList():void
Calling this method results in a call to the components validateDisplayList() method before the display list is rendered. | IInvalidating | |
![]() | invalidateProperties():void
Calling this method results in a call to the components validateProperties() method before the display list is rendered. | IInvalidating | |
removeChild(child:DisplayObject):DisplayObject | IContainer | ||
removeChildAt(index:int):DisplayObject | IContainer | ||
setChildIndex(child:DisplayObject, index:int):void | IContainer | ||
swapChildren(child1:DisplayObject, child2:DisplayObject):void | IContainer | ||
swapChildrenAt(index1:int, index2:int):void | IContainer | ||
![]() | validateDisplayList():void
Validates the display list of the component by calling the updateDisplayList(). | IInvalidating | |
![]() | validateNow():void
Validates the component immediately by calling validateProperties(), validateSizes(), and validateDisplayList() if necessary. | IInvalidating | |
![]() | validateProperties():void
Validates the properties of the component by calling the commitProperties() method. | IInvalidating | |
| contentHeight | property |
contentHeight:Number [read-only] Gets the height of the content.
public function get contentHeight():Number| contentWidth | property |
contentWidth:Number [read-only] Gets the width of the content.
public function get contentWidth():Number| layout | property |
layout:ILayoutGets or sets the layout for the group.
public function get layout():ILayout public function set layout(value:ILayout):void| numChildren | property |
numChildren:int [read-only] public function get numChildren():int| scrollDirection | property |
scrollDirection:String public function get scrollDirection():String public function set scrollDirection(value:String):void| addChild | () | method |
public function addChild(child:DisplayObject):DisplayObjectParameters
child:DisplayObject |
DisplayObject |
| addChildAt | () | method |
public function addChildAt(child:DisplayObject, index:int):DisplayObjectParameters
child:DisplayObject | |
index:int |
DisplayObject |
| childChanged | () | method |
public function childChanged(resizedChild:DisplayObject = null):BooleanNotifies the layout that the given child has changed either its size flags, the result of its measure method, or the value of its layout data. Should also be called if a child is added/removed from the IContainer or if a child's LayoutData is changed. Returns true if this change may have affected the measurement or size flags of the layout. Returns false if there is no possibility of the change affecting the the measurement or size flags of the layout.
Parameters
resizedChild:DisplayObject (default = null) |
Boolean |
| getChildAt | () | method |
public function getChildAt(index:int):DisplayObjectParameters
index:int |
DisplayObject |
| removeChild | () | method |
public function removeChild(child:DisplayObject):DisplayObjectParameters
child:DisplayObject |
DisplayObject |
| removeChildAt | () | method |
public function removeChildAt(index:int):DisplayObjectParameters
index:int |
DisplayObject |
| setChildIndex | () | method |
public function setChildIndex(child:DisplayObject, index:int):voidParameters
child:DisplayObject | |
index:int |
| swapChildren | () | method |
public function swapChildren(child1:DisplayObject, child2:DisplayObject):voidParameters
child1:DisplayObject | |
child2:DisplayObject |
| swapChildrenAt | () | method |
public function swapChildrenAt(index1:int, index2:int):voidParameters
index1:int | |
index2:int |