Abstract The unique identifier for this control.
True if the pane is closed else false.
True if the pane is closing else false.
This is true if the control can respond to UI events else false.
Use enable() and disable() to enable and disable it.
This is true if the control background is opaque else false.
Use opaque() and transparent() display / hide the background.
True if the pane is open else false.
true if the pane is opening else false.
This is true if the control is visible else false.
Use hide() and show() to set visibility.
Get the tab button.
The type name for this control.
(type name = class name without the Cvs prefix)
Add a child to this control using its relative position [rx, ry]. If rx and ry are not provided then it uses the values set in the child.
this control
is the actual control or its id
Optional rx: numberOptional ry: numberSets the icon and its alignment relative to any text in the control.
Processing constants are used to define the icon alignment.
this control
the icon to use for this control
Optional align: numberLEFT or RIGHT
Remove a child control from this one so that it stays in same screen position.
this control
the control to remove or its id
Sets or gets the color scheme used by the pane's tab and the translucent background. Controls on the pane are not affected.
this pane or its color scheme
Optional name: stringthe color scheme name e.g. 'blue'
This sets the event handler to be used when this control fires an event. The parameter can take one of three forms:
this control
the function to handle this control's events.
Generated using TypeDoc
This class provides most of the core functionality for the canvasGUI controls.