(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.