ui.DragDrop methods

Methods of the ui.DragDrop class.

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