Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: datatransfer :: dnd ::
struct DragGestureEvent
  Base Hierarchy
      DragGestureEvent
       ┗ ::com::sun::star::lang::EventObject
Description A DragGestureEvent is passed to the method XDragGestureListener::dragGestureRecognized() when a particular XDragGestureRecognizer detects that a platform dependent drag initiating gesture has occurred on the component that it is tracking.

Elements' Summary
DragAction | The action selected by the user.
DragOriginX | The x coordinate where the drag originated in component coordinates.
DragOriginY | The y coordinate where the drag originated in component coordinates.
DragSource | The DragSource associated with this drag action.
Event | The last event comprising the gesture.

Elements' Details
DragAction
byte DragAction; Description The action selected by the user. Different constants may be combined using a logical OR. It's further possible to combine the ACTION_DEFAULT with one of the other actions defined in DNDConstants. This means the user did not press any key during the Drag and Drop operation and the action that was combined with ACTION_DEFAULT is the system default action. See also DNDConstants
DragOriginX
long DragOriginX; Description The x coordinate where the drag originated in component coordinates.
DragOriginY
long DragOriginY; Description The y coordinate where the drag originated in component coordinates.
DragSource
XDragSource DragSource; Description The DragSource associated with this drag action.
Event
any Event; Description The last event comprising the gesture. The initial trigger event will presumably be a ::com::sun::star::awt::MouseEvent event. If it is not, the implementation should either react accordingly or presume that the left mouse button was clicked.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.