Packageqnx.fuse.ui.core
Interfacepublic interface IContainer extends IInvalidating
Implementors Container



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
 Inherited
Calling this method results in a call to the components validateDisplayList() method before the display list is rendered.
IInvalidating
 Inherited
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
 Inherited
Validates the display list of the component by calling the updateDisplayList().
IInvalidating
 Inherited
Validates the component immediately by calling validateProperties(), validateSizes(), and validateDisplayList() if necessary.
IInvalidating
 Inherited
Validates the properties of the component by calling the commitProperties() method.
IInvalidating
Property Detail
contentHeightproperty
contentHeight:Number  [read-only]

Gets the height of the content.


Implementation
    public function get contentHeight():Number
contentWidthproperty 
contentWidth:Number  [read-only]

Gets the width of the content.


Implementation
    public function get contentWidth():Number
layoutproperty 
layout:ILayout

Gets or sets the layout for the group.


Implementation
    public function get layout():ILayout
    public function set layout(value:ILayout):void
numChildrenproperty 
numChildren:int  [read-only]


Implementation
    public function get numChildren():int
scrollDirectionproperty 
scrollDirection:String


Implementation
    public function get scrollDirection():String
    public function set scrollDirection(value:String):void
Method Detail
addChild()method
public function addChild(child:DisplayObject):DisplayObject

Parameters

child:DisplayObject

Returns
DisplayObject
addChildAt()method 
public function addChildAt(child:DisplayObject, index:int):DisplayObject

Parameters

child:DisplayObject
 
index:int

Returns
DisplayObject
childChanged()method 
public function 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. 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)

Returns
Boolean
getChildAt()method 
public function getChildAt(index:int):DisplayObject

Parameters

index:int

Returns
DisplayObject
removeChild()method 
public function removeChild(child:DisplayObject):DisplayObject

Parameters

child:DisplayObject

Returns
DisplayObject
removeChildAt()method 
public function removeChildAt(index:int):DisplayObject

Parameters

index:int

Returns
DisplayObject
setChildIndex()method 
public function setChildIndex(child:DisplayObject, index:int):void

Parameters

child:DisplayObject
 
index:int

swapChildren()method 
public function swapChildren(child1:DisplayObject, child2:DisplayObject):void

Parameters

child1:DisplayObject
 
child2:DisplayObject

swapChildrenAt()method 
public function swapChildrenAt(index1:int, index2:int):void

Parameters

index1:int
 
index2:int