TabContainer

interface TabContainer : Container<Tab>

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

See also

TabPane

Inheritors

Functions

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

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

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

Add a styled Tab to this container.

inline fun TabContainer.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 container.

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

Add a Tab to this container.

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

Add a Tab with configuration block to this container.