BBjMouseEvent::getMouseButton

Description

In BBj 7.0 and higher, this method returns an ID indicating which mouse button was pressed.

Syntax

Return Value

Method

int

getMouseButton()

Parameters

None.

Return Value

Returns the ID of the mouse button (0=none, 1=left, 2=middle, 3=right, 4+=extended buttons).

Remarks

This method returns the mouse button numbers as defined by Java Swing MouseEvents.

See Also

BBjAPI

BBjMouseEvent::getLegacyMouseButton

BBj Object Syntax

BBj Object Diagram for an illustration of the relationship between BBjObjects.