KTable
Common interface applied to widgets that extend the original Table and keep their children in Cell instances.
Inheritors
Properties
Functions
Link copied to clipboard
inline fun <S> KWidget<S>.buttonGroup(minCheckedCount: Int, maxCheckedCount: Int, skin: Skin = Scene2DSkin.defaultSkin, init: KButtonTable.(S) -> Unit = {}): KButtonTable
Link copied to clipboard
open fun <T : Actor> T.cell(grow: Boolean = false, growX: Boolean = false, growY: Boolean = false, expand: Boolean? = null, expandX: Boolean? = null, expandY: Boolean? = null, fill: Boolean? = null, fillX: Boolean? = null, fillY: Boolean? = null, uniform: Boolean? = null, uniformX: Boolean? = null, uniformY: Boolean? = null, align: Int? = null, colspan: Int? = null, width: Float? = null, minWidth: Float? = null, preferredWidth: Float? = null, maxWidth: Float? = null, height: Float? = null, minHeight: Float? = null, preferredHeight: Float? = null, maxHeight: Float? = null, pad: Float? = null, padTop: Float? = null, padLeft: Float? = null, padRight: Float? = null, padBottom: Float? = null, space: Float? = null, spaceTop: Float? = null, spaceLeft: Float? = null, spaceRight: Float? = null, spaceBottom: Float? = null, row: Boolean = false): T
Allows to customize properties of the Cell storing this actor.
Link copied to clipboard
inline fun <S> KWidget<S>.horizontalGroup(init: KHorizontalGroup.(S) -> Unit = {}): KHorizontalGroup
Link copied to clipboard
Link copied to clipboard
inline fun <S> KWidget<S>.imageButton(style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin, init: KImageButton.(S) -> Unit = {}): KImageButton
Link copied to clipboard
inline fun <S> KWidget<S>.imageTextButton(text: String, style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin, init: KImageTextButton.(S) -> Unit = {}): KImageTextButton
Link copied to clipboard
inline fun <I> KWidget<*>.listWidget(style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin, init: KListWidget<I>.() -> Unit = {}): KListWidget<I>
Link copied to clipboard
fun <I> KWidget<*>.listWidgetOf(items: Array<I>? = null, style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin): KListWidget<I>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <S> KWidget<S>.scrollPane(style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin, init: KScrollPane.(S) -> Unit = {}): KScrollPane
Link copied to clipboard
inline fun <I> KWidget<*>.selectBox(style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin, init: KSelectBox<I>.() -> Unit = {}): KSelectBox<I>
Link copied to clipboard
fun <I> KWidget<*>.selectBoxOf(items: Array<I>? = null, style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin): KSelectBox<I>
Link copied to clipboard
Link copied to clipboard
Internal utility method for adding actors to the group. Assumes the actor might be stored in a container.
Link copied to clipboard
inline fun <S> KWidget<S>.table(skin: Skin = Scene2DSkin.defaultSkin, init: KTableWidget.(S) -> Unit = {}): KTableWidget
Link copied to clipboard
inline fun <S> KWidget<S>.textButton(text: String, style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin, init: KTextButton.(S) -> Unit = {}): KTextButton
Link copied to clipboard
inline fun <S> KWidget<S>.tree(style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin, init: KTreeWidget.(S) -> Unit = {}): KTreeWidget
Link copied to clipboard