com.gwtext.client.widgets.tree
Interface DropNodeCallback


public interface DropNodeCallback

This callback inferface can be used to customize what happends when a tree node is dropped on another node. For example the behaviour can to move / copy the dropped node to the drop point, or even create multiple tree nodes then a drop event occurs.

See Also:
TreePanelListener.doBeforeNodeDrop(TreePanel, TreeNode, com.gwtext.client.dd.DragData, String, com.gwtext.client.dd.DragDrop, TreeNode, DropNodeCallback)

Method Summary
 void setDropNode(TreeNode node)
          Set the drop node to a single tree node.
 void setDropNodes(TreeNode[] nodes)
          Set the drop to result in multiple tree nodes.
 

Method Detail

setDropNode

void setDropNode(TreeNode node)
Set the drop node to a single tree node.

Parameters:
node - the new node

setDropNodes

void setDropNodes(TreeNode[] nodes)
Set the drop to result in multiple tree nodes.

Parameters:
nodes - the tree nodes