MixedTreeItem

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
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.

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun createCell(treeView: MixedTreeView<I>): MixedTreeCell<I>
Link copied to clipboard
fun dumpItems()
Link copied to clipboard

Expands this item, and all descendants.

Link copied to clipboard

Expands this item, and all ancestors

Link copied to clipboard

Return true iff this MixedTreeItem is a descendantOf other, or they are the same MixedTreeItem.

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.

Link copied to clipboard
open override fun toString(): String