Abstract
The event handler for this control. Although it is permitted to set
this property directly it is recommended that the setAction(...)
method is used to define the event handler actions.
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 name
Optional
rx: numberOptional
ry: numberCalculates the absolute position on the canvas taking into account any ancestors
the actual position in the canvas
this controls parent
Sets 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 name
Sets or gets the color scheme used by this control.
this control or the control's color scheme
Optional
id: stringOptional
cascade: booleanThis sets the event handler to be used when this control fires an event. The parameter can take three forms:
this control
the function to handle this controls event
Generated using TypeDoc
Base class for all controls
It provides most of the functionality for the controls