KTabbedPane

class KTabbedPane(styleName: String) : TabbedPane

Extends TabbedPane with type-safe widget builders.

Constructors

Link copied to clipboard
constructor(styleName: String)

Properties

Link copied to clipboard
val activeTab: Tab
Link copied to clipboard
Link copied to clipboard
val tabs: Array<Tab>
Link copied to clipboard
val tabsPane: DragPane

Functions

Link copied to clipboard
open fun add(p0: Tab)
Link copied to clipboard
open fun addListener(p0: TabbedPaneListener)
Link copied to clipboard
fun TabbedPane.addTabContentsTo(group: Group)

On tab switch, tab content will be added to provided widget Group instance. Previous group content will be cleared.

fun TabbedPane.addTabContentsTo(container: Container<*>)

On tab switch, tab content will be added to provided Container instance. Previous container actor will be replaced.

fun TabbedPane.addTabContentsTo(table: Table)

On tab switch, tab content will be added to provided Table instance. Previous table content will be cleared.

Link copied to clipboard
open fun disableTab(p0: Tab, p1: Boolean)
Link copied to clipboard
open fun getTable(): TabbedPane.TabbedPaneTable
Link copied to clipboard
open fun getUIOrderedTabs(): Array<Tab>
Link copied to clipboard
open fun insert(p0: Int, p1: Tab)
Link copied to clipboard
open fun isTabDisabled(p0: Tab): Boolean
Link copied to clipboard
open fun remove(p0: Tab): Boolean
open fun remove(p0: Tab, p1: Boolean): Boolean
Link copied to clipboard
open fun removeAll()
Link copied to clipboard
open fun removeListener(p0: TabbedPaneListener): Boolean
Link copied to clipboard
open fun switchTab(p0: Tab)
open fun switchTab(p0: Int)
Link copied to clipboard
inline fun KTabbedPane.tab(title: String, savable: Boolean = false, closeableByUser: Boolean = true, init: KTab.() -> Unit = {}): Tab

Begins creation of new Tab using type-safe builder. Newly created tab will be added to tabbed pane automatically so there is no need to call TabbedPane.add manually.

Link copied to clipboard
open fun updateTabTitle(p0: Tab)