In working with Trees in JavaFX, you might have a need to alpha sort child TreeCells in the event that a label is edited or a new tree cell is inserted. This example uses a simple Bubble Sort implementation to trigger the sort of TreeCells that are the child of the indicated parent. For this example, I am using a subclass of TreeCell that adopts a new operation called sortCells() which can be called upon it at any time. --Rcasey 00:18, 17 November 2007 (UTC)
| Attributes | Values |
|---|---|
| rdfs:label |
|
| rdfs:comment |
|
| dcterms:subject | |
| abstract |
|