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.
- See also:
javax.swing.JTree
- Companion:
- object
Type members
Classlikes
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.
Inherited classlikes
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.
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.
- Inherited from:
- CellView
Value members
Constructors
Concrete methods
Inherited methods
Installed reaction won't receive events from the given publisher anylonger.
Installed reaction won't receive events from the given publisher anylonger.
- Inherited from:
- Reactor
Listen to the given publisher as long as deafTo
isn't called for
them.
Listen to the given publisher as long as deafTo
isn't called for
them.
- Inherited from:
- Reactor
Implicits
Implicits
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.
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. In addition to the objects in the list, the JTree's hidden root node must be prepended.
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.
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.
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.