Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2016-0-4 21:23

Class enchant.widget.EntityGroup

Class Summary
Constructor Attributes Constructor Name and Description
 
Entity that can have children.
Field Summary
Field Attributes Field Name and Description
<static>  
enchant.widget.EntityGroup.addChild
Add Node to EntityGroup.
<static>  
enchant.widget.EntityGroup.background
Surface used as background.
<static>  
enchant.widget.EntityGroup.firstChild
First child Node.
<static>  
enchant.widget.EntityGroup.height
<static>  
enchant.widget.EntityGroup.insertBefore
Insert Node to EntityGroup.
<static>  
enchant.widget.EntityGroup.lastChild
Last child Node.
<static>  
enchant.widget.EntityGroup.removeChild
Delete Node from EntityGroup.
<static>  
enchant.widget.EntityGroup.width
Fields borrowed from class enchant.Entity:
backgroundColor, buttonMode, buttonPressed, compositeOperation, debugColor, opacity, originX, originY, rotation, scaleX, scaleY, touchEnabled, visible
Fields borrowed from class enchant.Node:
age, parentNode, scene, x, y

Class Detail

enchant.widget.EntityGroup(width, height)
Entity that can have children.
Parameters:
{Number} width
Entity width.
{Number} height
Entity height.

Field Detail

<static> enchant.widget.EntityGroup.addChild
Add Node to EntityGroup.
<static> enchant.widget.EntityGroup.background
Surface used as background.
<static> enchant.widget.EntityGroup.firstChild
First child Node.
<static> enchant.widget.EntityGroup.height
<static> enchant.widget.EntityGroup.insertBefore
Insert Node to EntityGroup.
<static> enchant.widget.EntityGroup.lastChild
Last child Node.
<static> enchant.widget.EntityGroup.removeChild
Delete Node from EntityGroup.
<static> enchant.widget.EntityGroup.width