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

Class enchant.widget.ScrollView

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.widget.ScrollView(width, height)
Scroll view.
Field Summary
Field Attributes Field Name and Description
<static>  
enchant.widget.ScrollView.content
ScrollView 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.ScrollView.scroll(dy)
Scroll content.
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.ScrollView(width, height)
Scroll view. Scroll is possible for content set.
Parameters:
{Number} width
View width.
{Number} height
View height.

Field Detail

<static> enchant.widget.ScrollView.content
ScrollView content.

Method Detail

  • <static> enchant.widget.ScrollView.scroll(dy)
    Scroll content. Correct level will become upwards scroll.
    Parameters:
    {Number} dy
    Scroll level.