pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: TreeViews, Nodes and Paths
Date Tue, 23 Feb 2010 20:43:36 GMT
Hi David, 

You can use the get() method of org.apache.pivot.collections.Sequence.Tree to access your
tree nodes by path.

Greg

On Feb 23, 2010, at 3:33 PM, David McNelis wrote:

> I have just changed a single select TreeView to a Multi, and am having some issues.
>  
> Before I was able to use TreeView and the getSelectedNode() method, but clearly that
doesn’t apply to this situation.
>  
> The getSelectedPaths() seems to be the logical direction to go, but how to I retrieve
the selected node(s) itself from there?  There is not a getNode(Path) method and the getNodeAt(int)
returns another path.
>  
> I’m I missing something obvious?  Or is this really not as straightforward as it would
seem.
>  
> Thanks in advance for any suggestions.
>  


Mime
View raw message