com :: sun :: star :: datatransfer :: dnd :: interface XDropTargetDragContext
- Base Interface
- com::sun::star::uno::XInterface
- Description
- This interface is implemented by any drop target context object.
A drop target context is created whenever the logical cursor associated
with a Drag and Drop operation moves within the visible geometry of a
window associated with a drop target.
The drop target context provides the mechanism for a potential receiver
of a drop operation to both provide the end user with the appropriate drag
under feedback and effect the subsequent data transfer, if appropriate.
Methods' Details
|
- acceptDrag
-  
- [ oneway ] void
acceptDrag(
[ in ] byte |
dragOperation ); |
- Description
- Accept the Drag.
This method should be called from the methods of XDropTargetListener
if the implementation wishes to accept the drag operation with the specified
action.
- Parameter dragOperation
-
The operation accepted by the target.
- See also
- DNDConstants
- See also
- DropTargetDragEvent
|
- rejectDrag
-  
[ oneway ] void
rejectDrag();
- Description
- Reject the drag as a result of examining the available
DataFlavor types
received in the XDropTargetListener::dragEnter() method.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.