|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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(arlut.csd.JTree.treeNode dragNode,
arlut.csd.JTree.treeNode aboveNode,
arlut.csd.JTree.treeNode belowNode)
Called when a DRAG_LINE drag operation ends. |
boolean |
dragLineTween(arlut.csd.JTree.treeNode dragNode,
arlut.csd.JTree.treeNode aboveNode,
arlut.csd.JTree.treeNode belowNode)
Called during a DRAG_LINE drag operation, when the dragNode is pulled between the midline of a pair of rows. |
void |
iconDragDrop(arlut.csd.JTree.treeNode dragNode,
arlut.csd.JTree.treeNode targetNode)
Called whenever a DRAG_ICON drag ends, to notify the client what node the dragNode is being dropped onto. |
boolean |
iconDragOver(arlut.csd.JTree.treeNode dragNode,
arlut.csd.JTree.treeNode targetNode)
Called during a DRAG_ICON drag whenever the icon being dragged is moved onto a new node's row. |
boolean |
startDrag(arlut.csd.JTree.treeNode dragNode)
Called whenever a drag begins, to verify that the node in question may be dragged. |
| Method Detail |
public boolean startDrag(arlut.csd.JTree.treeNode dragNode)
dragNode - The node in the tree that the user is attempting to drag.
public boolean iconDragOver(arlut.csd.JTree.treeNode dragNode,
arlut.csd.JTree.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(arlut.csd.JTree.treeNode dragNode,
arlut.csd.JTree.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(arlut.csd.JTree.treeNode dragNode,
arlut.csd.JTree.treeNode aboveNode,
arlut.csd.JTree.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(arlut.csd.JTree.treeNode dragNode,
arlut.csd.JTree.treeNode aboveNode,
arlut.csd.JTree.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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||