Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: datatransfer :: dnd ::

struct DropTargetDragEvent
Base Hierarchy
DropTargetDragEventDropTargetEvent
    ┗ ::com::sun::star::lang::EventObject
Description
The DropTargetDragEvent is delivered from the drop target to the currently registered drop target listener.

It contains information regarding the current state of the operation to enable the operations initiator to provide the end user with the appropriate drag over feedback.

See also
XDropTargetListener

Elements' Summary
Context The drop target context of the current drag operation.  
DropAction This value represents the currently selected drop action.  
LocationX The cursor's current x location within the window's coordinates.  
LocationY The cursor's current y location within the window's coordinates.  
SourceActions This value represents the action or actions supported by the source. This may be a combination of arbitrary source actions except ACTION_DEFAULT.  
Elements' Details
Context
XDropTargetDragContext Context;
Description
The drop target context of the current drag operation.
See also
XDropTargetDragContext
DropAction
byte DropAction;
Description
This value represents the currently selected drop action.
See also
DNDConstants
LocationX
long LocationX;
Description
The cursor's current x location within the window's coordinates.
LocationY
long LocationY;
Description
The cursor's current y location within the window's coordinates.
SourceActions
byte SourceActions;
Description
This value represents the action or actions supported by the source. This may be a combination of arbitrary source actions except ACTION_DEFAULT.

To combine different actions use a logical OR.

See also
DNDConstants
Top of Page

Apache Software Foundation

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

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