"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> JsDoc Reference - wso2vis.ctrls.TrafficLight
Class Index | File Index

Classes


Class wso2vis.ctrls.TrafficLight

Represents a traffic light widget which creates a graphical traffic light in WSO2Vis.
Defined in: TrafficLight.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a new TrafficLight.
Method Summary
Method Attributes Method Name and Description
 
 
load(p)
 
off(light)
 
on(light)
 
property(name)
 
toggle(light)
 
Class Detail
wso2vis.ctrls.TrafficLight(canvas)
Constructs a new TrafficLight.
Parameters:
{canvas} canvas
the name of the HTML element (ex: div) where the graphical traffic light should be drawn.
Method Detail
horizontal()

load(p)
Parameters:
p

off(light)
Parameters:
light

on(light)
Parameters:
light

property(name)
Parameters:
name

toggle(light)
Parameters:
light

vertical()

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Jul 28 2010 15:35:59 GMT+0530 (IST)