Elements' Summary |
Buttons |
contains the pressed mouse buttons.
|
X |
contains the x coordinate location of the mouse.
|
Y |
contains the y coordinate location of the mouse.
|
ClickCount |
contains the number of mouse clicks associated with event.
|
PopupTrigger |
specifies if this event is a popup-menu trigger event.
|
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 popup-menu trigger event.
If this member is true, the event describes a request for a popup 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
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.