Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: datatransfer :: dnd ::
interface XDropTargetDragContext
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' 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 XDropTargetListener::dragEnter() XDropTargetListener::dragOver() XDropTargetListener::dragActionChanged() 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

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.