Class enchant.widget.ListElement
- Defined in: widget.enchant.js
- Extends enchant.widget.EntityGroup
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.ListElement(width, height)
List items.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
enchant.widget.ListElement.content
ListElement content.
|
<static> |
enchant.widget.ListElement.height
|
<static> |
enchant.widget.ListElement.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
Method Summary
Method Attributes | Method Name and Description |
---|---|
<static> |
enchant.widget.ListElement.refresh()
Renew change.
|
- Methods borrowed from class enchant.Entity:
- disableCollection
- enableCollection
- intersect
- rotate
- scale
- within
- Methods borrowed from class enchant.Node:
- moveBy
- moveTo
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.widget.ListElement(width, height)
List items.
Normally enchant.widget.ListItem or enchant.widget.ListItemVertical are used.
- Parameters:
- {Number} width
- Element width.
- {Number} height
- Element height.
Field Detail
<static>
enchant.widget.ListElement.content
ListElement content.
<static>
enchant.widget.ListElement.height
<static>
enchant.widget.ListElement.width
Method Detail
-
<static> enchant.widget.ListElement.refresh()Renew change.