styledTab

fun styledTab(text: String? = null, content: Node? = null, vararg styleClass: String, id: String? = null): Tab

Create a styled Tab.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun TabManager.styledTab(text: String? = null, content: Node? = null, vararg styleClass: String, id: String? = null): Tab

Add a styled Tab to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledTab(text: String? = null, content: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxTab.() -> Unit): Tab

Create a styled Tab with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


inline fun TabManager.styledTab(text: String? = null, content: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxTab.() -> Unit): Tab

Add a styled Tab 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.