Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: datatransfer :: dnd ::
struct DropTargetDropEvent
  Base Hierarchy
      ::com::sun::star::lang::EventObject
       |
       +-DropTargetEvent
          |
          +-DropTargetDropEvent
Description The DropTargetDropEvent is delivered from the drop target to its currently registered drop target listener. It contains sufficient information for the originator of the operation to provide appropriate feedback to the end user when the operation completes.

Elements' Summary
Context | The drop target context of the current drag operation.
DropAction | This value represents the action or actions selected by the user at the time of the drop.
LocationX | The cursor's current x location within the windows' coordinates.
LocationY | The cursor's current y location within the windows' coordinates.
SourceActions | This value represents the action or actions supported by the source.
Transferable | The transferable object associated with the drop.

Elements' Details
Context
XDropTargetDropContext Context; Description The drop target context of the current drag operation. See also XDropTargetDropContext
DropAction
byte DropAction; Description This value represents the action or actions selected by the user at the time of the drop. If more than one action is specified, the XDropTargetListener should raise a dialog to ask the user which action to use. See also DNDConstants
LocationX
long LocationX; Description The cursor's current x location within the windows' coordinates.
LocationY
long LocationY; Description The cursor's current y location within the windows' coordinates.
SourceActions
byte SourceActions; Description This value represents the action or actions supported by the source.
Transferable
::com::sun::star::datatransfer::XTransferable Transferable; Description The transferable object associated with the drop. See also ::com::sun::star::datatransfer::XTransferable

Top of Page

Copyright © 2003 Sun Microsystems, Inc.