scalaswingcontrib.tree
package scalaswingcontrib.tree
Type members
Classlikes
class ExternalTreeModel[A](rootItems: Seq[A], children: A => Seq[A])(implicit evidence$1: ClassTag[A]) extends TreeModel[A]
Represents tree data as a sequence of root nodes, and a function that can retrieve child nodes.
Represents tree data as a sequence of root nodes, and a function that can retrieve child nodes.
- Companion:
- object
class Tree[A](var treeDataModel: TreeModel[A])(implicit evidence$1: ClassTag[A]) extends Component with CellView[A] with EditableCells[A] with RenderableCells[A] with Wrapper
Wrapper for a JTree. The tree model is represented by a lazy child expansion function that may or may not terminate in leaf nodes.
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