Microsoft SDK for Java

MouseEvent.button

Specifies which mouse button was pressed.

Syntax

public final int button;

Remarks

Possible values are constants defined in the MouseButton class. This value is MouseButton.NONE if no mouse button was pressed when the event was generated.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.