By definition, a branch node must be a List. The selected path simply refers to 
the last node in the selection.

On Nov 18, 2011, at 4:25 AM, pan peter wrote:

> by using drag and drop, i can move a tree node to be child of another tree
> node. but how to select the dropped tree node after drop?
> seems only way to set selection is through the TreeView.setSelectedPath().
> but how to get the new path if the parent node *is/is not* a TreeBranch? 
> the tree layout can get changed after drop, as the previous TreeNode might
> become a TreeBranch now.
> 
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/how-to-get-the-path-of-a-tree-node-tp3518163p3518163.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to