Syntax
constants group MouseButton;
Description
These values are used to specify which keys on the mouse are pressed.
Constants Summary
|
LEFT |
specifies the left mouse button as being pressed.
|
|
RIGHT |
specifies the right mouse button as being pressed.
|
|
MIDDLE |
specifies the middle mouse button as being pressed.
|
|
Field Details
|
|
Syntax
const short LEFT = 1;
Description
specifies the left mouse button as being pressed.
Syntax
const short RIGHT = 2;
Description
specifies the right mouse button as being pressed.
Syntax
const short MIDDLE = 4;
Description
specifies the middle mouse button as being pressed.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.