public interface treeDragDropCallback
treeControl| Modifier and Type | Method and Description |
|---|---|
void |
dragLineRelease(treeNode dragNode,
treeNode aboveNode,
treeNode belowNode)
Called when a DRAG_LINE drag operation ends.
|
boolean |
dragLineTween(treeNode dragNode,
treeNode aboveNode,
treeNode belowNode)
Called during a DRAG_LINE drag operation, when the dragNode is
pulled between the midline of a pair of rows.
|
void |
iconDragDrop(treeNode dragNode,
treeNode targetNode)
Called whenever a DRAG_ICON drag ends, to notify the client what
node the dragNode is being dropped onto.
|
boolean |
iconDragOver(treeNode dragNode,
treeNode targetNode)
Called during a DRAG_ICON drag whenever the icon being dragged is
moved onto a new node's row.
|
boolean |
startDrag(treeNode dragNode)
Called whenever a drag begins, to verify that the node in question
may be dragged.
|
boolean startDrag(treeNode dragNode)
dragNode - The node in the tree that the user is attempting to drag.boolean iconDragOver(treeNode dragNode, treeNode targetNode)
dragNode - The node in the tree that the user is attempting to drag.targetNode - The node in the tree that the dragNode is being moved onto.void iconDragDrop(treeNode dragNode, treeNode targetNode)
dragNode - The node in the tree that the user is attempting to drag.targetNode - The node in the tree that the dragNode is being dropped onto.boolean dragLineTween(treeNode dragNode, treeNode aboveNode, treeNode belowNode)
dragNode - The node in the tree that the user is attempting to drag.aboveNode - The node in the tree below which the line is being dragged to.belowNode - The node in the tree above which the line is being dragged to.void dragLineRelease(treeNode dragNode, treeNode aboveNode, treeNode belowNode)
dragNode - The node in the tree that the user is attempting to drag.aboveNode - The node in the tree below which the line is being released.belowNode - The node in the tree above which the line is being released.