Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: FEST-Swing 1.1
-
Fix Version/s: FEST-Swing 1.2a4
-
Component/s: Swing
-
Labels:None
-
Number of attachments :
Description
I think that it would be useful to have a method on JTreeFixture which would return the texts of a given node's children. Something like:
String[] textOfChildNodes(String path)
I think it would be even more useful to implement a fixture for a tree node, just like a fixture for a table cell in issue 170 .
This fixture could be used, for example, to collapse/expand the given node, to return its text, etc...
If such a fixture were to be implemented it would be more useful to have a method which would return not the texts of a given node's children, but a fixture for every child node. Another method could return a fixture for a node's parent node, although I don't see any use for it.
Thanks,
Csabi
Original report: Issue 185 (Google Code)
I agree about having tree node fixtures.
At the moment (1.1) I can't see a way to ctrl-click on a node to extend selection.