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

interface XDropTargetDragContext

Methods' Summary
acceptDrag Accept the Drag.  
rejectDrag Reject the drag as a result of examining the available ::com::sun::star::datatransfer::DataFlavor types received in the XDropTargetListener::dragEnter() method.  
Methods' Details
acceptDrag
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, DropTargetDragEvent
rejectDrag
void
rejectDrag();

Description
Reject the drag as a result of examining the available ::com::sun::star::datatransfer::DataFlavor types received in the XDropTargetListener::dragEnter() method.
Top of Page