Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: awt ::
constants group MouseButton
Description These values are used to specify which keys on the mouse are pressed.

Constants
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.

Constants' Details
LEFT
const short LEFT = 1; Description specifies the left mouse button as being pressed.
RIGHT
const short RIGHT = 2; Description specifies the right mouse button as being pressed.
MIDDLE
const short MIDDLE = 4; Description specifies the middle mouse button as being pressed.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.