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

Class enchant.widget.Button

Class Summary
Constructor Attributes Constructor Name and Description
 
Button.
Field Summary
Field Attributes Field Name and Description
 
Button content
 
height of button
 
Button background.
 
Background when button is pushed.
 
width of button
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

Class Detail

enchant.widget.Button(Button)
Button. Set normal background and background when pushed down.
Parameters:
{*} Button
content.

Field Detail

content
Button content
{number} height
height of button
image
Button background.
pushedimage
Background when button is pushed.
{number} width
width of button