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 :: datatransfer :: dnd ::

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

It contains sufficient information for the originator of the operation to provide appropriate feedback to the end user when the operation completes.


Elements' Summary
Context The drop target context of the current drag operation.  
DropAction This value represents the action or actions selected by the user at the time of the drop.  
LocationX The cursor's current x location within the windows' coordinates.  
LocationY The cursor's current y location within the windows' coordinates.  
SourceActions This value represents the action or actions supported by the source.  
Transferable The transferable object associated with the drop.  
Elements' Details
Context
XDropTargetDropContext Context;
Description
The drop target context of the current drag operation.
See also
XDropTargetDropContext
DropAction
byte DropAction;
Description
This value represents the action or actions selected by the user at the time of the drop.

If more than one action is specified, the XDropTargetListener should raise a dialog to ask the user which action to use.

See also
DNDConstants
LocationX
long LocationX;
Description
The cursor's current x location within the windows' coordinates.
LocationY
long LocationY;
Description
The cursor's current y location within the windows' coordinates.
SourceActions
byte SourceActions;
Description
This value represents the action or actions supported by the source.
Transferable
::com::sun::star::datatransfer::XTransferable Transferable;
Description
The transferable object associated with the drop.
See also
::com::sun::star::datatransfer::XTransferable
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.