Class wso2vis.c.Control
Represents an abstract Class for controls. The Control class is the base class for all graphical controls in WSO2Vis.
Defined in: Control.js.
Constructor Attributes | Constructor Name and Description |
---|---|
wso2vis.c.Control(canvas)
Constructs a new Control.
|
Method Attributes | Method Name and Description |
---|---|
create()
Creates the graphical control.
|
|
getID()
|
|
load()
Loads the graphical control inside the given HTML element (ex: div).
|
|
unload()
Unloads the graphical control from the given HTML element (ex: div).
|
Class Detail
wso2vis.c.Control(canvas)
Constructs a new Control.
- Parameters:
- {string} canvas
- the name of the HTML element (ex: div) where the graphical control should be drawn.
Method Detail
create()
Creates the graphical control.
getID()
load()
Loads the graphical control inside the given HTML element (ex: div).
unload()
Unloads the graphical control from the given HTML element (ex: div).