LibreOffice
LibreOffice 25.8 SDK API Reference
|
makes it possible to receive events from the mouse in a certain window. More...
import "XMouseClickHandler.idl";
Public Member Functions | |
boolean | mousePressed ([in] com::sun::star::awt::MouseEvent e) |
is invoked when a mouse button has been pressed on a window. | |
boolean | mouseReleased ([in] com::sun::star::awt::MouseEvent e) |
is invoked when a mouse button has been released on a window. | |
Public Member Functions inherited from XEventListener | |
void | disposing ([in] com::sun::star::lang::EventObject Source) |
gets called when the broadcaster is about to be disposed. | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. |
makes it possible to receive events from the mouse in a certain window.
This handler is usually added via com::sun::star::awt::XUserInputInterception to the controller from com::sun::star::frame::XModel. While com::sun::star::awt::XMouseListener needs to be added to exactly the correct widget.
Also this handler is more flexible, because it optionally allows the consumption of key events.
boolean mousePressed | ( | [in] com::sun::star::awt::MouseEvent | e | ) |
is invoked when a mouse button has been pressed on a window.
boolean mouseReleased | ( | [in] com::sun::star::awt::MouseEvent | e | ) |
is invoked when a mouse button has been released on a window.