KTab

class KTab(title: String, savable: Boolean, closeableByUser: Boolean) : Tab, KTable

See Tab. Note that KTab is only intended to by used with type-safe builder from within KTabbedPane.tab.

Constructors

Link copied to clipboard
constructor(title: String, savable: Boolean, closeableByUser: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val <T : Actor> T.inCell: Cell<T>
Link copied to clipboard
var pane: TabbedPane
Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T : Actor> add(actor: T): Cell<T>
Link copied to clipboard
inline fun <S> KWidget<S>.basicColorPicker(style: String = defaultStyle, init: KBasicColorPicker.(S) -> Unit = {}): KBasicColorPicker
Link copied to clipboard
inline fun <S> KWidget<S>.busyBar(style: String = defaultStyle, init: BusyBar.(S) -> Unit = {}): BusyBar
Link copied to clipboard
inline fun <S> KWidget<S>.buttonBar(order: String? = null, tableInit: VisTable.(S) -> Unit = {}, init: ButtonBar.() -> Unit = {}): ButtonBar
Link copied to clipboard
open fun <T : Actor> T.cell(grow: Boolean, growX: Boolean, growY: Boolean, expand: Boolean?, expandX: Boolean?, expandY: Boolean?, fill: Boolean?, fillX: Boolean?, fillY: Boolean?, uniform: Boolean?, uniformX: Boolean?, uniformY: Boolean?, align: Int?, colspan: Int?, width: Float?, minWidth: Float?, preferredWidth: Float?, maxWidth: Float?, height: Float?, minHeight: Float?, preferredHeight: Float?, maxHeight: Float?, pad: Float?, padTop: Float?, padLeft: Float?, padRight: Float?, padBottom: Float?, space: Float?, spaceTop: Float?, spaceLeft: Float?, spaceRight: Float?, spaceBottom: Float?, row: Boolean): T
Link copied to clipboard
inline fun <S> KWidget<S>.collapsible(defaultSpacing: Boolean = false, init: KCollapsible.(S) -> Unit = {}): KCollapsible
Link copied to clipboard
open fun dirty()
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
inline fun <S> KWidget<S>.dragPane(init: KDragPane.(S) -> Unit = {}): KDragPane
Link copied to clipboard
inline fun <S> KWidget<S>.extendedColorPicker(style: String = defaultStyle, init: KExtendedColorPicker.(S) -> Unit = {}): KExtendedColorPicker
Link copied to clipboard
inline fun <S> KWidget<S>.floatingGroup(init: KFloatingGroup.(S) -> Unit = {}): KFloatingGroup
Link copied to clipboard
inline fun <S> KWidget<S>.flowGroup(vertical: Boolean = false, spacing: Float = 0.0f, init: KFlowGroup.(S) -> Unit = {}): KFlowGroup
Link copied to clipboard
open override fun getContentTable(): Table
Link copied to clipboard
open override fun getTabTitle(): String
Link copied to clipboard
inline fun <S> KWidget<S>.gridGroup(itemSize: Float = 256.0f, spacing: Float = 8.0f, init: KGridGroup.(S) -> Unit = {}): KGridGroup
Link copied to clipboard
inline fun <S> KWidget<S>.highlightTextArea(text: String = "", style: String = defaultStyle, init: HighlightTextArea.(S) -> Unit = {}): HighlightTextArea
Link copied to clipboard
inline fun <S> KWidget<S>.horizontalCollapsible(defaultSpacing: Boolean = false, init: KHorizontalCollapsible.(S) -> Unit = {}): KHorizontalCollapsible
Link copied to clipboard
inline fun <S> KWidget<S>.horizontalFlowGroup(spacing: Float = 0.0f, init: KHorizontalFlowGroup.(S) -> Unit = {}): KHorizontalFlowGroup

Deprecated. Use flowGroup instead.

Link copied to clipboard
inline fun <S> KWidget<S>.linkLabel(text: CharSequence, url: CharSequence = text, style: String = defaultStyle, init: LinkLabel.(S) -> Unit = {}): LinkLabel
Link copied to clipboard
inline fun <I> KWidget<*>.listView(itemAdapter: ListAdapter<I>, style: String = defaultStyle, init: ListView<I>.() -> Unit = {}): ListView<I>
Link copied to clipboard
inline fun <S> KWidget<S>.menuBar(style: String = defaultStyle, init: MenuBar.(S) -> Unit = {}): MenuBar

Begins creation of a new MenuBar.

Link copied to clipboard
inline fun <S> KWidget<S>.multiSplitPane(vertical: Boolean = false, style: String = if (vertical) defaultVerticalStyle else defaultHorizontalStyle, init: KMultiSplitPane.(S) -> Unit = {}): KMultiSplitPane
Link copied to clipboard
open fun onHide()
Link copied to clipboard
open fun onShow()
Link copied to clipboard
Link copied to clipboard
open fun save(): Boolean
Link copied to clipboard
inline fun <S> KWidget<S>.scrollableTextArea(text: String = "", style: String = defaultStyle, init: ScrollableTextArea.(S) -> Unit = {}): ScrollableTextArea
Link copied to clipboard
inline fun <S> KWidget<S>.separator(style: String = defaultStyle, init: Separator.(S) -> Unit = {}): Separator
Link copied to clipboard
inline fun <S> KWidget<S>.spinner(name: String, model: SpinnerModel, style: String = defaultStyle, init: KSpinner.(S) -> Unit = {}): KSpinner
Link copied to clipboard
open override fun <T : Actor> storeActor(actor: T): Cell<T>
Link copied to clipboard
inline fun <S> KWidget<S>.tabbedPane(style: String = defaultStyle, init: KTabbedPane.(S) -> Unit = {}): KTabbedPane
Link copied to clipboard
inline fun <S> KWidget<S>.verticalFlowGroup(spacing: Float = 0.0f, init: KVerticalFlowGroup.(S) -> Unit = {}): KVerticalFlowGroup

Deprecated. Use flowGroup instead.

Link copied to clipboard
inline fun <S> KWidget<S>.visCheckBox(text: String, style: String = defaultStyle, init: KVisCheckBox.(S) -> Unit = {}): KVisCheckBox
Link copied to clipboard
inline fun <S> KWidget<S>.visImage(texture: Texture, init: VisImage.(S) -> Unit = {}): VisImage
inline fun <S> KWidget<S>.visImage(ninePatch: NinePatch, init: VisImage.(S) -> Unit = {}): VisImage
inline fun <S> KWidget<S>.visImage(textureRegion: TextureRegion, init: VisImage.(S) -> Unit = {}): VisImage
inline fun <S> KWidget<S>.visImage(drawableName: String, init: VisImage.(S) -> Unit = {}): VisImage
inline fun <S> KWidget<S>.visImage(drawable: Drawable, scaling: Scaling = Scaling.stretch, align: Int = Align.center, init: VisImage.(S) -> Unit = {}): VisImage
Link copied to clipboard
inline fun <S> KWidget<S>.visImageButton(style: String = defaultStyle, init: KVisImageButton.(S) -> Unit = {}): KVisImageButton
Link copied to clipboard
inline fun <S> KWidget<S>.visImageTextButton(text: String, style: String = defaultStyle, init: KVisImageTextButton.(S) -> Unit = {}): KVisImageTextButton
Link copied to clipboard
inline fun <S> KWidget<S>.visLabel(text: CharSequence, style: String = defaultStyle, init: VisLabel.(S) -> Unit = {}): VisLabel
Link copied to clipboard
inline fun <I> KWidget<*>.visList(style: String = defaultStyle, init: KVisList<I>.() -> Unit = {}): KVisList<I>
Link copied to clipboard
fun <I> KWidget<*>.visListOf(items: Array<I>? = null, style: String = defaultStyle): KVisList<I>
Link copied to clipboard
inline fun <S> KWidget<S>.visProgressBar(min: Float = 0.0f, max: Float = 100.0f, step: Float = 1.0f, vertical: Boolean = false, style: String = if (vertical) defaultVerticalStyle else defaultHorizontalStyle, init: VisProgressBar.(S) -> Unit = {}): VisProgressBar
Link copied to clipboard
inline fun <S> KWidget<S>.visRadioButton(text: String, style: String = "radio", init: KVisRadioButton.(S) -> Unit = {}): KVisRadioButton
Link copied to clipboard
inline fun <S> KWidget<S>.visScrollPane(style: String = defaultStyle, init: KVisScrollPane.(S) -> Unit = {}): KVisScrollPane
Link copied to clipboard
inline fun <I> KWidget<*>.visSelectBox(style: String = defaultStyle, init: KVisSelectBox<I>.() -> Unit = {}): KVisSelectBox<I>
Link copied to clipboard
fun <I> KWidget<*>.visSelectBoxOf(items: Array<I>? = null, style: String = defaultStyle): KVisSelectBox<I>
Link copied to clipboard
inline fun <S> KWidget<S>.visSlider(min: Float = 0.0f, max: Float = 100.0f, step: Float = 1.0f, vertical: Boolean = false, style: String = if (vertical) defaultVerticalStyle else defaultHorizontalStyle, init: VisSlider.(S) -> Unit = {}): VisSlider
Link copied to clipboard
inline fun <S> KWidget<S>.visSplitPane(vertical: Boolean = false, style: String = if (vertical) defaultVerticalStyle else defaultHorizontalStyle, init: KVisSplitPane.(S) -> Unit = {}): KVisSplitPane
Link copied to clipboard
inline fun <S> KWidget<S>.visTable(defaultSpacing: Boolean = false, init: KVisTable.(S) -> Unit = {}): KVisTable
Link copied to clipboard
inline fun <S> KWidget<S>.visTextArea(text: String = "", style: String = defaultStyle, init: VisTextArea.(S) -> Unit = {}): VisTextArea
Link copied to clipboard
inline fun <S> KWidget<S>.visTextButton(text: String, style: String = defaultStyle, init: KVisTextButton.(S) -> Unit = {}): KVisTextButton
Link copied to clipboard
inline fun <S> KWidget<S>.visTextField(text: String = "", style: String = defaultStyle, init: VisTextField.(S) -> Unit = {}): VisTextField
Link copied to clipboard
inline fun <S> KWidget<S>.visTree(style: String = defaultStyle, init: KVisTree.(S) -> Unit = {}): KVisTree
Link copied to clipboard
inline fun <S> KWidget<S>.visValidatableTextField(text: String = "", style: String = defaultStyle, init: VisValidatableTextField.(S) -> Unit = {}): VisValidatableTextField