Elements' Details |
Buttons
short Buttons;
- Description
- contains the pressed mouse buttons.
Zero ore more constants from the
MouseButton group.
|
|
X
long X;
- Description
- contains the x coordinate location of the mouse.
|
|
Y
long Y;
- Description
- contains the y coordinate location of the mouse.
|
|
ClickCount
long ClickCount;
- Description
- contains the number of mouse clicks associated with event.
|
|
PopupTrigger
boolean PopupTrigger;
- Description
- specifies if this event is a pop-up menu trigger event.
If this member is true, the event describes a request for a pop-up menu,
also known as context menu, on an object.
In this case, X and Y describe the position
where the request was issued. If those members are -1 , then the
request was issued using the keyboard, by pressing the operating-system dependent
key combination for this purpose.
- See also
- XMouseListener::mousePressed
|
|
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.