TreeItemBase

abstract class TreeItemBase

Common code shared by TreeItem and MixedTreeItem

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

False if any of the ancestors are not expanded. The root item is always available (even when MixedTreeView.showRoot == false).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The root is level 0. Its children are level 1 etc.

Link copied to clipboard
Link copied to clipboard

An event handler which is called when this item is expanded, but before the tree is actually expanded. This gives you the opportunity to adjust children. i.e. children can be lazily evaluated, just in time.

Link copied to clipboard
Link copied to clipboard

An event handler which is called when this item is expanded, but before the tree is actually expanded. This gives you the opportunity to adjust children. i.e. children can be lazily evaluated, just in time.

Functions

Link copied to clipboard
fun onContracted(handlerCombination: HandlerCombination = HandlerCombination.AFTER, block: (event: ActionEvent) -> Unit)

A convenient way to set onContractedProperty using a lambda.

Link copied to clipboard
fun onExpanding(handlerCombination: HandlerCombination = HandlerCombination.AFTER, block: (event: ActionEvent) -> Unit)

A convenient way to set onExpandingProperty using a lambda.