Properties
Private _element
_element: HTMLElement = null
Private _propertyChangedListeners
_propertyChangedListeners: Array<function> = new Array<(propertyName: string, value: any) => void>()
Private disposables
disposables: Array<object> = new Array<{ dispose(): void}>()
Static Private propertyRegex
propertyRegex: RegExp = /return ([_a-zA-Z0-9]+)(\.([_a-zA-Z0-9]+))*;?/
The
Control
class is the base class for all content generating classes. Everything that gets instantiated by theControlManager
hasControl
as its base.Control
is an abstract class that provides basic access in to the Orange render process via theonElementSet()
andonControlCreated()
methods.The
onElementSet()
is called when theelement
property gets assigned by theControlManager
; when theonElementSet()
method gets called whe know that the control implementing it has been assigned anHTMLElement
and it is safe to start interacting with theelement
property.The
onControlCreated()
method is called by theControlManager
when a control is finalized; all current child controls have been created (theironControlCreated()
has been executed).Se ControlManager for more information on the creation process of controls.