DhEventInfo.getMouseButton

Overview | Methods | Fields | This Package | All Packages

DhEventInfo.getMouseButton

Tests for mouse button events.

Syntax

final public int getMouseButton()

Return Value

Returns one of the mouse buttons constants from EVT_NOBUTTON, EVT_LEFTBUTTON, EVT_RIGHTBUTTON, or EVT_MIDDLEBUTTON.