viewtify

viewtify.ui

UITreeItem<T>

  • T

value()T

T

Get the associated value.

createItem(Rvalue)UITreeItemR

R
Rvalue

A child item value.

UITreeItemR

A created item.

Create a child item at last with value.

createItemIfAbsent(Rvalue)UITreeItemR

R
Rvalue

A child item value.

UITreeItemR

A created item.

Create a child item at last with value if the specified value is not associated.

expand(booleanvalue)UITreeItemT

booleanvalue

If this TreeItem has children, calling setExpanded with true will result in the children becoming visible. Calling setExpanded with false will hide any children belonging to the TreeItem.

UITreeItemT

Sets the expanded state of this TreeItem. This has no effect on a TreeItem with no children. On a TreeItem with children however, the result of toggling this property is that visually the children will either become visible or hidden, based on whether expanded is set to true or false.

removeWhen(kiss.Signaltiming)UITreeItemT

kiss.Signaltiming
UITreeItemT

Remove this item from parent when the specified Signal emits first signal.

removeWhen(FunctionT, kiss.Signaltiming)UITreeItemT

FunctionT, kiss.Signaltiming
UITreeItemT

Remove this item from parent when the specified Signal emits first signal.

removeWhenEmpty()UITreeItemT

UITreeItemT

Remove this item from parent when this item has no child.