|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Callback interface to be implemented by objects that manage drag and drop behavior within a treeControl.
treeControl| Method Summary | |
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. |
| Method Detail |
public boolean startDrag(treeNode dragNode)
dragNode - The node in the tree that the user is attempting to drag.
public 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.
public 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.
public 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.
public 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.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||