SingleNodeTreeCell
abstract class SingleNodeTreeCell<T, N : Node>(treeView: TreeView<T>, treeItem: TreeItem<T>, val node: N) : TreeCell<T>
An abstract implementation of TreeCell which has a single child node of type N. This takes care of layoutChildren, and nodePrefWidth and nodePrefHeight.
Inheritors
Constructors
Properties
Functions
Link copied to clipboard
Each subclass of node can determine its preferred height. As most nodes are composed of smaller nodes, this is typically calculated using evalPrefWidth of the child nodes, with extra added for spacing, padding and borders.
Link copied to clipboard
Each subclass of node can determine its preferred width. As most nodes are composed of smaller nodes, this is typically calculated using evalPrefWidth of the child nodes, with extra added for spacing, padding and borders.