Class: BaseControl

og.control.BaseControl

new og.control.BaseControl(options)

Base control class for implementing renderer controls. All other controls extend from this class.
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.
active Boolean optional Control activity.

Members

protected_initializedBoolean

Control initialized.

activeBoolean

Control activity.

autoActivateBoolean

Auto activation flag.

rendererog.Renderer

Assigned renderer.

Methods

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

abstractonactivate()

Control activation function have to be overriden.
Control renderer assigning function have to be overriden.

abstractondeactivate()

Control deactivation function have to be overriden.
Control initialization function have to be overriden.

abstractonremove()

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