Class: Control

og/control/Control~Control

Base control class for implementing renderer controls. All other controls extend from this class.

new Control(options)

Name Type Description
options Object optional Control activation options:
Name Type Default Description
autoActivated Boolean true optional If true - calls initialize function after the renderer assigning.

Members

protected_activeBoolean

Control activity.

protected_initializedBoolean

Control initialized.

autoActivateBoolean

Auto activation flag.

abstractname

Returns control name.

rendererog.Renderer

Assigned renderer.

Methods

Activate control.
Assign renderer to the control.
Deactivate control.
Is control active.

abstractonactivate()

Control activation function have to be overriden.

abstractonadd()

Control renderer assigning function have to be overriden.

abstractondeactivate()

Control deactivation function have to be overriden.

abstractoninit()

Control initialization function have to be overriden.

abstractonremove()

Control remove function have to be overriden.
Assign renderer to the control.