Zimlet JavaScript API Reference - DwtDragEvent

Class DwtDragEvent


DwtDragEvent is generated by the Drag and Drop framework when a drag operation is in process. The drag event is dispatched to the registered DwtDragSource instance.

Defined in: DwtDragEvent.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>  
DwtDragEvent.DRAG_CANCEL
Drag canceled (i.e.
<static>  
DwtDragEvent.DRAG_END
Drag has ended.
<static>  
DwtDragEvent.DRAG_INIT
Drag initialization.
<static>  
DwtDragEvent.DRAG_MOVE
Drag movement has occurred.
<static>  
DwtDragEvent.DRAG_START
Drag is starting.
 
Type of drag operation.
<static>  
DwtDragEvent.SET_DATA
Set the srcData field of the event.
 
Drag source control
 
Drag source data.
Class Detail
DwtDragEvent()

Author: Ross Dargahi.
See:
DwtDragSource
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> DwtDragEvent.DRAG_CANCEL
Drag canceled (i.e. dropped on invalid target).

<static> DwtDragEvent.DRAG_END
Drag has ended.

<static> DwtDragEvent.DRAG_INIT
Drag initialization.

<static> DwtDragEvent.DRAG_MOVE
Drag movement has occurred.

<static> DwtDragEvent.DRAG_START
Drag is starting.

operation

<static> DwtDragEvent.SET_DATA
Set the srcData field of the event.

{DwtControl} srcControl
Drag source control

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

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