Zimlet JavaScript API Reference - DwtDropEvent

Class DwtDropEvent


DwtDropEvent is generated by the Drag and Drop framework when a drag n drop operation is in process. The drop event is dispatched to the registered DwtDropTarget instance.

Defined in: DwtDropEvent.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Action being performed.
 
Whether the DnD framework should perform the operation.
<static>  
DwtDropEvent.DRAG_DROP
A draggable object has been dropped on the drag target.
<static>  
DwtDropEvent.DRAG_ENTER
A draggable object has entered the drop target.
<static>  
DwtDropEvent.DRAG_LEAVE
A draggable object has left the drop target.
<static>  
DwtDropEvent.DRAG_OP_CHANGED
Drag operation has changed e.g.
 
Type of drag operation.
 
Drag source data.
 
Drop target control.
Class Detail
DwtDropEvent()

Author: Ross Dargahi.
See:
DwtDropTarget
Field Detail
action
Action being performed. One of:

{boolean} doIt
Whether the DnD framework should perform the operation. The application is responsible for setting this value based on whatever business logic it is implementing.

<static> DwtDropEvent.DRAG_DROP
A draggable object has been dropped on the drag target.

<static> DwtDropEvent.DRAG_ENTER
A draggable object has entered the drop target.

<static> DwtDropEvent.DRAG_LEAVE
A draggable object has left the drop target.

<static> DwtDropEvent.DRAG_OP_CHANGED
Drag operation has changed e.g. from move to copy.

operation

srcData
Drag source data. This is the application data associated with the item being dragged.

{DwtControl} targetControl
Drop target control.

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:26 GMT-0400 (EDT)