TabManager

interface TabManager : KtfxManager<Tab>

Container of Tab, also being used in JFXTabPane.kt.

See also

TabPane

Functions

Link copied to clipboard
abstract fun <C : Tab> addChild(child: C): C

Allows child to be added dynamically with Kotlin DSL in the context of this manager.

Inheritors

Link copied to clipboard

Extensions

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

Add a styled Tab to this manager.

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.

Link copied to clipboard
fun TabManager.tab(text: String? = null, content: Node? = null): Tab

Add a Tab to this manager.

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

Add a Tab with configuration block to this manager.