Inheritance Container
View
Module hilo/view/Container
Requires
hilo/core/Hilo, hilo/core/Class, hilo/view/View
Source
Container.js
Container is the base class to all container classes. Each Container can add other view object as children.
Property | Defined | |
---|---|---|
children:Array
List of children elements of the container, readonly!
|
Container | |
clipChildren:Boolean
Whether clip children elements which are out of the container, default value is false.
|
Container | |
pointerChildren:Boolean
Whether children elements of the container can response to user interactive events, default value is true.
|
Container |
Method | Defined | |
---|---|---|
Container(properties:Object)
Constructor
|
Container | |
|
Container | |
addChildAt(child:View, index:Number)
|
Container | |
|
Container | |
getChildAt(index:Number)
|
Container | |
getChildById(id:String)
|
Container | |
getChildIndex(child:View)
|
Container | |
getNumChildren():Uint
|
Container | |
getViewAtPoint(x:Number, y:Number, usePolyCollision:Boolean, global:Boolean, eventMode:Boolean)
|
Container | |
removeAllChildren():Container
|
Container | |
removeChild(child:View):View
|
Container | |
removeChildAt(index:Int):View
|
Container | |
removeChildById(id:String):View
|
Container | |
setChildIndex(child:View, index:Number)
|
Container | |
sortChildren(keyOrFunction:Object)
|
Container | |
|
Container | |
swapChildrenAt(index1:Number, index2:Number)
|
Container |