Class enchant.widget.NavigationBar
- Defined in: widget.enchant.js
- Extends enchant.widget.EntityGroup
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.NavigationBar(center, left, right)
Navigation bar.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
enchant.widget.NavigationBar.center
Central content.
|
<static> |
enchant.widget.NavigationBar.left
Left content.
|
<static> |
enchant.widget.NavigationBar.right
Right 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.NavigationBar.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.NavigationBar(center, left, right)
Navigation bar.
Items are set for sent, right, and left.
- Parameters:
- {*} center
- Object you wish to display in center.
- {*} left
- Item you wish to display to left.
- {*} right
- Item you wish to display to right.
Field Detail
<static>
enchant.widget.NavigationBar.center
Central content.
<static>
enchant.widget.NavigationBar.left
Left content.
It appear in left aligned position.
<static>
enchant.widget.NavigationBar.right
Right content.
It appear in right aligned position.
Method Detail
-
<static> enchant.widget.NavigationBar.refresh()Renew change.