Class enchant.widget.ListView
- Defined in: widget.enchant.js
- Extends enchant.widget.ScrollView
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.ListView(width, height, draggable)
リストビュー.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
enchant.widget.ListView.content
リストビューの内容を設定する.
|
- 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.ListView.getSelectedItem(event)
イベントの対象を取得する.
|
- 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.ListView(width, height, draggable)
リストビュー.
- Parameters:
- {Number} width
- メニューの横幅.
- {Number} height
- メニューの縦幅.
- {Boolean} draggable
- 項目をドラッグできるか設定する. List view.
Field Detail
<static>
enchant.widget.ListView.content
リストビューの内容を設定する.
Method Detail
-
イベントの対象を取得する.
- Parameters:
- {enchant.Event} event
- Returns:
- {enchant.widget.ListElement}