Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

interface XMouseMotionHandler
Base Interfaces
XMouseMotionHandler
┗ ::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 mouse motion events on a window.

Methods' Summary
mouseDragged is invoked when a mouse button is pressed on a window and then dragged.  
mouseMoved is invoked when the mouse button has been moved on a window (with no buttons down).  
Methods' Details
mouseDragged
boolean
mouseDragged( [in] MouseEvent  e );

Description
is invoked when a mouse button is pressed on a window and then dragged.

Mouse drag events will continue to be delivered to the window where the first event originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the window).

Returns
When false is returned the other handlers are called and a following handling of the event by the broadcaster takes place. Otherwise, when true is returned, no other handler will be called and the broadcaster will take no further actions regarding the event.
mouseMoved
boolean
mouseMoved( [in] MouseEvent  e );

Description
is invoked when the mouse button has been moved on a window (with no buttons down).
Returns
When false is returned the other handlers are called and a following handling of the event by the broadcaster takes place. Otherwise, when true is returned, no other handler will be called and the broadcaster will take no further actions regarding the event.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.