Class enchant.widget.ListItem
- Defined in: widget.enchant.js
- Extends enchant.widget.ListElement
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.ListItem(width, height, content, icon, rightIcon)
|
Field Attributes | Field Name and Description |
---|---|
<static> |
enchant.widget.ListItem.icon
|
<static> |
enchant.widget.ListItem.rightIcon
|
- 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.ListItem.refresh()
|
- 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.ListItem(width, height, content, icon, rightIcon)
- Parameters:
- width
- height
- content
- icon
- rightIcon
Field Detail
<static>
enchant.widget.ListItem.icon
<static>
enchant.widget.ListItem.rightIcon
Method Detail
-
<static> enchant.widget.ListItem.refresh()