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

interface XDropTargetDropContext

Methods' Summary
acceptDrop Accept the Drop.  
rejectDrop Reject the drop as a result of examining the available ::com::sun::star::datatransfer::DataFlavor types received in the XDropTargetListener::dragEnter() method.  
dropComplete Signals that the drop is completed and if it was successful or not.  
Methods' Details
acceptDrop
void
acceptDrop( [in] byte  dragOperation );

Description
Accept the Drop.

This method should be called from the XDropTargetListener::drop() method if the implementation wishes to accept the drop operation with the specified action.

Parameter dragOperation
The operation accepted by the target.
See also
DNDConstants, DropTargetDragEvent
rejectDrop
void
rejectDrop();

Description
Reject the drop as a result of examining the available ::com::sun::star::datatransfer::DataFlavor types received in the XDropTargetListener::dragEnter() method.
dropComplete
void
dropComplete( [in] boolean  success );

Description
Signals that the drop is completed and if it was successful or not.
Parameter success
A value of true means the drop completed successfully

A value of false means the drop completed unsuccessfully.

Top of Page