ui.DragDrop methods

Methods of the ui.DragDrop class.

Table 1. Object methods
Name Description
addPossibleOperation(
   oper STRING )
Add a possible operation.
dropInternal()
Perform built-in row drop in trees.
getBuffer()
  RETURNING result STRING
Get drag & drop data from the buffer.
getLocationParent()
  RETURNING result INTEGER
Get the index of the parent node where the object was dropped.
getLocationRow()
  RETURNING result INTEGER
Get the index of the target row where the object was dropped.
getOperation()
  RETURNING result STRING
Identify the type of operation on drop.
getSelectedMimeType()
  RETURNING result STRING
Get the previously selected MIME type.
selectMimeType(
   type STRING )
Select the MIME type before getting the data.
setBuffer(
   data STRING )
Set the text data of the dragged object.
setFeedback(
   type STRING )
Define the appearance of the target during Drag & Drop.
setMimeType(
   type STRING )
Define the MIME type of the dragged object.
setOperation(
   oper STRING )
Define the type of Drag & Drop operation.