Content for OpenOffice.org version 3.3.
:: com :: sun :: star :: awt ::
|
| interface XMouseListener |
- Base Interfaces
XMouseListener
┗ ::com::sun::star::lang::XEventListener
| ::com::sun::star::lang::XEventListener |
- (referenced interface's summary:)
- base interface for all event listeners interfaces.
|
|
- Description
- makes it possible to receive events from the mouse in a certain window.
|
| Methods' Summary |
| mousePressed |
is invoked when a mouse button has been pressed on a window.
|
| mouseReleased |
is invoked when a mouse button has been released on a window.
|
| mouseEntered |
is invoked when the mouse enters a window.
|
| mouseExited |
is invoked when the mouse exits a window.
|
| Methods' Details |
mousePressed
- Description
- is invoked when a mouse button has been pressed on a window.
Since mouse presses are usually also used to indicate requests for popup menus
(also known as context menus) on objects, you might receive two events
for a single mouse press: For example, if, on your operating system,
pressing the right mouse button indicates the request for a context menu,
then you will receive one call to mousePressed indicating
the mouse click, and another one indicating the context menu request. For
the latter, the MouseEvent::PopupTrigger member of the
event will be set to true.
|
|
mouseReleased
- Description
- is invoked when a mouse button has been released on a window.
|
|
mouseEntered
- Description
- is invoked when the mouse enters a window.
|
|
mouseExited
- Description
- is invoked when the mouse exits a window.
|
|
Top of Page
Copyright © 1995, 2010, 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.