The DragDrop class / ui.DragDrop methods |
Define the appearance of the target during Drag & Drop.
setFeedback( type STRING )
The setFeedback() method defines the appearance the target object must have during the drag & drop process.
For example, in a table or tree view, when the mouse is flying over rows in the drop target, a different visual indicator will appear according to the value that was passed to setFeedback().
Possible values for the setFeedback() method are:
Parameter Values | Description |
---|---|
all | Dragged object will be dropped somewhere on the target widget, the exact location does not matter. |
insert | In lists, dragged object will be inserted in between existing rows. |
select | In lists, dragged object will replace the current row under the mouse. |