Provides common functionality for the selection
object found in CellView implementation.
Provides common functionality for the selection
object found in CellView implementation. Each
will have one or more selection sets based on different types of cell coordinate, such as row,
column, index or tree path. All events published from selection
objects will derive from
scala.swing.event.SelectionEvent.
Collapses all visible rows.
Expands every row.
Expands every row. Will not terminate if the tree is of infinite depth.
Implicit method to produce a generic editor.
Implicit method to produce a generic editor. This lives in the Tree class rather than the companion object because it requires an actual javax.swing.JTree instance to be initialised.
Implicitly converts Tree.Path[A] lists to TreePath objects understood by the underlying peer JTree.
Implicitly converts Tree.Path[A] lists to TreePath objects understood by the underlying peer JTree. In addition to the objects in the list, the JTree's hidden root node must be prepended.
Selection model for Tree.
Selection model for Tree.
To observe tree selections, make the reactor listen to this publishing object which will then dispatch instances of scalaswingcontrib.event.TreePathSelected.
Implicitly converts javax.swing.tree.TreePath objects to Tree.Path[A] lists recognised in Scala Swing.
Implicitly converts javax.swing.tree.TreePath objects to Tree.Path[A] lists recognised in Scala Swing. TreePaths will include the underlying JTree's hidden root node, which is omitted for Tree.Paths.
Wrapper for a JTree. The tree model is represented by a lazy child expansion function that may or may not terminate in leaf nodes.
The tree publishes structural events, such as nodes being added or removed, on its main publisher, whereas selection changes are published to the dedicated Tree#selection object.
javax.swing.JTree