styledTreeView

fun <T> styledTreeView(root: TreeItem<T>? = null, vararg styleClass: String, id: String? = null): TreeView<T>

Create a styled TreeView.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun <T> NodeManager.styledTreeView(root: TreeItem<T>? = null, vararg styleClass: String, id: String? = null): TreeView<T>

Add a styled TreeView to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun <T> styledTreeView(root: TreeItem<T>? = null, vararg styleClass: String, id: String? = null, configuration: TreeView<T>.() -> Unit): TreeView<T>

Create a styled TreeView with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


inline fun <T> NodeManager.styledTreeView(root: TreeItem<T>? = null, vararg styleClass: String, id: String? = null, configuration: TreeView<T>.() -> Unit): TreeView<T>

Add a styled TreeView with configuration block to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.