DropTargetListener.dragOperationChanged

The operation being performed has changed (usually due to the user changing the selected modifier key(s) while dragging).

<p>The following fields in the DropTargetEvent apply: <ul> <li>(in)widget <li>(in)time <li>(in)x <li>(in)y <li>(in)dataTypes <li>(in,out)currentDataType <li>(in)operations <li>(in,out)detail <li>(in,out)feedback </ul></p>

<p>The <code>operation</code> value is determined by the modifier keys pressed by the user. If no keys are pressed the <code>event.detail</code> field is set to DND.DROP_DEFAULT. If the application does not set the <code>event.detail</code> to something other than <code>DND.DROP_DEFAULT</code> the operation will be set to the platform defined standard default.</p>

<p>The <code>currentDataType</code> value is determined by the value assigned to <code>currentDataType</code> in previous dragEnter and dragOver calls.</p>

<p>The application can change the operation that will be performed by modifying the <code>detail</code> field but the choice must be one of the values in the <code>operations</code> field.</p>

<p>The application can also change the type of data being requested by modifying the <code>currentDataTypes</code> field but the value must be one of the values in the <code>dataTypes</code> list.</p>

@param event the information associated with the drag operation changed event

@see DropTargetEvent

interface DropTargetListener
void
dragOperationChanged

Meta