
| Key: |
FEST-8
|
| Type: |
New Feature
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Alex Ruiz
|
| Reporter: |
Alex Ruiz
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
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)
|
|
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) |
Show » |
Sort Order:
made changes - 02/Mar/09 01:47 AM
| Field |
Original Value |
New Value |
|
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:
{code:java}
String[] textOfChildNodes(String path)
{code}
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|http://code.google.com/p/fest/issues/detail?id=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: [Google Code (issue 185)|http://code.google.com/p/fest/issues/detail?id=185] and [Project Kenai (FEST-6)|http://kenai.com/jira/browse/FEST-6].
|
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:
{code:java}
String[] textOfChildNodes(String path)
{code}
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|http://code.google.com/p/fest/issues/detail?id=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 reports at [Issue 185 (Google Code)|http://code.google.com/p/fest/issues/detail?id=185] and [FEST-6 (Project Kenai)|http://kenai.com/jira/browse/FEST-6].
|
made changes - 09/Mar/09 03:00 AM
|
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:
{code:java}
String[] textOfChildNodes(String path)
{code}
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|http://code.google.com/p/fest/issues/detail?id=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 reports at [Issue 185 (Google Code)|http://code.google.com/p/fest/issues/detail?id=185] and [FEST-6 (Project Kenai)|http://kenai.com/jira/browse/FEST-6].
|
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:
{code:java}
String[] textOfChildNodes(String path)
{code}
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|http://code.google.com/p/fest/issues/detail?id=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)|http://code.google.com/p/fest/issues/detail?id=185]
|
made changes - 29/Apr/09 01:01 AM
|
Fix Version/s
|
Cairo
[ 15055
]
|
|
|
Fix Version/s
|
|
Kiev
[ 15264
]
|
made changes - 25/May/09 11:32 AM
|
Fix Version/s
|
Kiev
[ 15264
]
|
|
|
Fix Version/s
|
|
Paris
[ 15322
]
|
made changes - 11/Jul/09 03:24 PM
|
Priority
|
Major
[ 3
]
|
Minor
[ 4
]
|
made changes - 19/Jul/09 10:37 AM
|
Fix Version/s
|
FEST-Swing 1.2a3
[ 15322
]
|
|
|
Fix Version/s
|
|
FEST-Swing 1.2a4
[ 15506
]
|
made changes - 26/Dec/09 09:43 PM
|
Remaining Estimate
|
|
0 minutes
[ 0
]
|
|
Original Estimate
|
|
0 minutes
[ 0
]
|
|
Summary
|
Method on JTreeFixture to return text of child nodes for a path (issue 185)
|
Method on JTreeFixture to return a fixture for a cell (issue 185)
|
made changes - 26/Dec/09 09:43 PM
|
Status
|
Open
[ 1
]
|
In Progress
[ 3
]
|
made changes - 28/Dec/09 01:23 AM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
In Progress
[ 3
]
|
Resolved
[ 5
]
|
|
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.