(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 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 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.