mouseDown

Processes pressing of the main mouse button.

Signatures

  •   ParamateControls.<ControlName>.mouseDown(e)

Details

Abstract function that must be implemented when creating a custom control. The function is called when a user presses the main mouse button or starts a touch event. It performs the required internal processes of the control.

Remark

If the status and the visible appearance of the control got changed, the method may call this.viewport.drawControls() in order to redraw the controls.

Remark

The function must not stop the propagation of the mouse event.

Parameters

e

MouseEvent Object

Return value

'true' if the control processes the event, i.e. if it gets activated by it. In this case, event propagation is stopped. 'false' otherwise.