pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santosh <pavanraju....@gmail.com>
Subject RE: Based of Path how to get TreeBranch or TreeNode
Date Thu, 11 Jul 2013 06:28:25 GMT
Hi Roger,

I made a mistake of saying node selection.
The process you told was working correctly. I see all the leaf nodes are
selected, under a checked TreeBranch. But this is not exactly what i need.
As iam using TreeView (Checked - with a Checkbox associated to all the
nodes), i want the leaf nodes to be checked / unchecked.

As i was able to get the leaf nodes path under a checked TreeBranch as:

for (TreeNode node : branch) {
	Sequence.Tree.Path leafPath = Sequence.Tree.pathOf(treeRoot, node);
	//treeView.addSelectedPath(leafPath); // This makes the particular leaf
node selection.

With the leaf node path how to check it or uncheck it.

santosh pavan raju
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Based-of-Path-how-to-get-TreeBranch-or-TreeNode-tp4022629p4022633.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

View raw message