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

Class enchant.widget.ListItem

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.widget.ListItem(width, height, content, icon, rightIcon)
Listの項目.
Field Summary
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)
Listの項目. アイコン, 左端のボタンが設定できる. 縦に並ぶ項目を設定したいときは, enchant.widget.ListItemVerticalを使用する.
Parameters:
{Number} width
要素の横幅.
{Number} height
要素の縦幅.
{*} content Optional
ListItemの内容.
{enchant.Sprite|enchant.Surface} icon Optional
ListItemのアイコン.
{enchant.Sprite|enchant.Surface} rightIcon Optional
ListItemの左側のアイコン.
See:
enchant.widget.ListItemVertical

Field Detail

<static> enchant.widget.ListItem.icon
アイコン. 左側に表示される.
<static> enchant.widget.ListItem.rightIcon
右側のアイコン. 右側に表示される.

Method Detail

  • <static> enchant.widget.ListItem.refresh()
    変更を更新する.