Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: datatransfer :: dnd ::
interface XDropTargetListener
  Base Interfaces
      XDropTargetListener
      ┗ ::com::sun::star::lang::XEventListener
  ::com::sun::star::lang::XEventListener | (referenced interface's summary:) base interface for all event listeners interfaces.
Description This interface is the callback interface used by the drop target object to provide notification of Drag and Drop operations that involve the subject drop target. Methods of this interface may be implemented to provide "drag under" visual feedback to the user throughout the Drag and Drop operation.

Methods' Summary
drop | The drag operation has terminated with a drop on this drop target.
dragEnter | Called when a drag operation has encountered the drop target.
dragExit | The drag operation has departed the drop target without dropping.
dragOver | Called when a drag operation is ongoing on the drop target.
dropActionChanged | Called when the user has modified the drop gesture.

Methods' Details
drop
void
drop( | [in] DropTargetDropEvent | dtde );
Description The drag operation has terminated with a drop on this drop target. NOTE: The implementation has to wait until the method XDropTargetDropContext::dropComplete is called before releasing the data for the drop operation. This should occur before returning from drop in a normal flow of operation. Also, the implementor of XDropTargetListener should not assume the DropTargetDropEvent to be meaningful after returning from the XDropTargetListener::drop() method. Parameter dtde The DropTargetDropEvent.
dragEnter
void
dragEnter( | [in] DropTargetDragEnterEvent | dtdee );
Description Called when a drag operation has encountered the drop target. Parameter dtde The DropTargetDragEvent.
dragExit
void
dragExit( | [in] DropTargetEvent | dte );
Description The drag operation has departed the drop target without dropping. Parameter dte The DropTargetEvent.
dragOver
void
dragOver( | [in] DropTargetDragEvent | dtde );
Description Called when a drag operation is ongoing on the drop target. Parameter dtde The DropTargetEvent.
dropActionChanged
void
dropActionChanged( | [in] DropTargetDragEvent | dtde );
Description Called when the user has modified the drop gesture. Parameter dtde The DropTargetEvent.

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.