KSpinner

class KSpinner(styleName: String, name: String, model: SpinnerModel) : Spinner, KTable

Extends Spinner with type-safe widget builders.

Constructors

Link copied to clipboard
constructor(styleName: String, name: String, model: SpinnerModel)

Properties

Link copied to clipboard
val actions: Array<Action>
Link copied to clipboard
val align: Int
Link copied to clipboard
@Null
@get:Null
var background: Drawable
Link copied to clipboard
val captureListeners: DelayedRemovalArray<EventListener>
Link copied to clipboard
val cells: Array<Cell<Actor>>
Link copied to clipboard
val children: SnapshotArray<Actor>
Link copied to clipboard
Link copied to clipboard
var color: Color
Link copied to clipboard
Link copied to clipboard
@Null
@get:Null
var cullingArea: Rectangle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val <T : Actor> T.inCell: Cell<T>
Link copied to clipboard
val listeners: DelayedRemovalArray<EventListener>
Link copied to clipboard
var model: SpinnerModel
Link copied to clipboard
@Null
@get:Null
var name: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Null
@get:Null
var parent: Group
Link copied to clipboard
Link copied to clipboard
val rows: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Null
@get:Null
var skin: Skin
Link copied to clipboard
@Null
@get:Null
var stage: Stage
Link copied to clipboard
var textFieldEventPolicy: Spinner.TextFieldEventPolicy
Link copied to clipboard
var touchable: Touchable
Link copied to clipboard
Link copied to clipboard
@Null
@get:Null
var userObject: Any
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var x: Float
Link copied to clipboard
var y: Float

Functions

Link copied to clipboard
open override fun act(p0: Float)
Link copied to clipboard
open fun add(): Cell<Actor>
open fun <T : Actor> add(@Null p0: T): Cell<T>
open fun add(vararg p0: Actor): Table
open fun add(@Null p0: CharSequence): Cell<Label>
open fun add(@Null p0: CharSequence, p1: String): Cell<Label>
open fun add(@Null p0: CharSequence, p1: String, @Null p2: Color): Cell<Label>
open fun add(@Null p0: CharSequence, p1: String, p2: String): Cell<Label>
Link copied to clipboard
open fun addAction(p0: Action)
Link copied to clipboard
open fun addActor(p0: Actor)
Link copied to clipboard
open fun addActorAfter(p0: Actor, p1: Actor)
Link copied to clipboard
open fun addActorAt(p0: Int, p1: Actor)
Link copied to clipboard
open fun addActorBefore(p0: Actor, p1: Actor)
Link copied to clipboard
open fun addCaptureListener(p0: EventListener): Boolean
Link copied to clipboard
open fun addListener(p0: EventListener): Boolean
Link copied to clipboard
open fun addSeparator(): Cell<Separator>
open fun addSeparator(p0: Boolean): Cell<Separator>
Link copied to clipboard
open fun align(p0: Int): Table
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun background(@Null p0: Drawable): Table
open fun background(p0: String): Table
Link copied to clipboard
inline fun <S> KWidget<S>.basicColorPicker(style: String = defaultStyle, init: KBasicColorPicker.(S) -> Unit = {}): KBasicColorPicker
Link copied to clipboard
open fun bottom(): Table
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
open fun center(): Table
Link copied to clipboard
open override fun clear()
open fun clear(p0: Boolean)
Link copied to clipboard
open fun clearActions()
Link copied to clipboard
open fun clearChildren()
open override fun clearChildren(p0: Boolean)
Link copied to clipboard
open fun clearListeners()
Link copied to clipboard
open fun clip(): Table
open fun clip(p0: Boolean): Table
Link copied to clipboard
open fun clipBegin(): Boolean
open fun clipBegin(p0: Float, p1: Float, p2: Float, p3: Float): Boolean
Link copied to clipboard
open fun clipEnd()
Link copied to clipboard
inline fun <S> KWidget<S>.collapsible(defaultSpacing: Boolean = false, init: KCollapsible.(S) -> Unit = {}): KCollapsible
Link copied to clipboard
open fun columnDefaults(p0: Int): Cell<Actor>
Link copied to clipboard
open override fun debug(): Table
open fun debug(p0: Table.Debug): Table
Link copied to clipboard
open fun debugActor(): Table
Link copied to clipboard
open override fun debugAll(): Table
Link copied to clipboard
open fun debugCell(): Table
Link copied to clipboard
open fun debugTable(): Table
Link copied to clipboard
open fun decrement()
Link copied to clipboard
open fun defaults(): Cell<Actor>
Link copied to clipboard
inline fun <S> KWidget<S>.dragPane(init: KDragPane.(S) -> Unit = {}): KDragPane
Link copied to clipboard
open override fun draw(p0: Batch, p1: Float)
Link copied to clipboard
open override fun drawDebug(p0: ShapeRenderer)
Link copied to clipboard
inline fun <S> KWidget<S>.extendedColorPicker(style: String = defaultStyle, init: KExtendedColorPicker.(S) -> Unit = {}): KExtendedColorPicker
Link copied to clipboard
@Null
open fun <T : Actor> findActor(p0: String): T
Link copied to clipboard
open fun fire(p0: Event): Boolean
Link copied to clipboard
@Null
open fun <T : Actor> firstAscendant(p0: Class<T>): T
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
@Null
open fun <T : Actor> getCell(p0: T): Cell<T>
Link copied to clipboard
open fun getChild(p0: Int): Actor
Link copied to clipboard
open fun getColumnMinWidth(p0: Int): Float
Link copied to clipboard
Link copied to clipboard
open fun getColumnWidth(p0: Int): Float
Link copied to clipboard
open fun getDebug(): Boolean
Link copied to clipboard
open override fun getMaxHeight(): Float
Link copied to clipboard
open fun getMaxLength(): Int
Link copied to clipboard
open override fun getMaxWidth(): Float
Link copied to clipboard
open override fun getMinHeight(): Float
Link copied to clipboard
open override fun getMinWidth(): Float
Link copied to clipboard
open fun getPadBottom(): Float
Link copied to clipboard
open fun getPadBottomValue(): Value
Link copied to clipboard
open fun getPadLeft(): Float
Link copied to clipboard
open fun getPadLeftValue(): Value
Link copied to clipboard
open fun getPadRight(): Float
Link copied to clipboard
open fun getPadRightValue(): Value
Link copied to clipboard
open fun getPadTop(): Float
Link copied to clipboard
open fun getPadTopValue(): Value
Link copied to clipboard
open fun getPadX(): Float
Link copied to clipboard
open fun getPadY(): Float
Link copied to clipboard
open override fun getPrefHeight(): Float
Link copied to clipboard
open override fun getPrefWidth(): Float
Link copied to clipboard
open fun getRight(): Float
Link copied to clipboard
open fun getRow(p0: Float): Int
Link copied to clipboard
open fun getRowHeight(p0: Int): Float
Link copied to clipboard
open fun getRowMinHeight(p0: Int): Float
Link copied to clipboard
open fun getRowPrefHeight(p0: Int): Float
Link copied to clipboard
Link copied to clipboard
open fun getTableDebug(): Table.Debug
Link copied to clipboard
open fun getTextField(): VisValidatableTextField
Link copied to clipboard
open fun getTop(): Float
Link copied to clipboard
open fun getX(p0: Int): Float
Link copied to clipboard
open fun getY(p0: Int): Float
Link copied to clipboard
open fun getZIndex(): Int
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
open fun hasActions(): Boolean
Link copied to clipboard
open fun hasChildren(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun hasParent(): Boolean
Link copied to clipboard
Link copied to clipboard
inline fun <S> KWidget<S>.highlightTextArea(text: String = "", style: String = defaultStyle, init: HighlightTextArea.(S) -> Unit = {}): HighlightTextArea
Link copied to clipboard
@Null
open override fun hit(p0: Float, p1: Float, p2: Boolean): Actor
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
open fun increment()
Link copied to clipboard
open override fun invalidate()
Link copied to clipboard
open override fun invalidateHierarchy()
Link copied to clipboard
open fun isAscendantOf(p0: Actor): Boolean
Link copied to clipboard
open fun isDescendantOf(p0: Actor): Boolean
Link copied to clipboard
open fun isTouchable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun layout()
Link copied to clipboard
open fun left(): Table
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
open fun localToActorCoordinates(p0: Actor, p1: Vector2): Vector2
Link copied to clipboard
open fun localToAscendantCoordinates(@Null p0: Actor, p1: Vector2): Vector2
Link copied to clipboard
open fun localToDescendantCoordinates(p0: Actor, p1: Vector2): Vector2
Link copied to clipboard
open fun localToParentCoordinates(p0: Vector2): Vector2
Link copied to clipboard
open fun localToScreenCoordinates(p0: Vector2): Vector2
Link copied to clipboard
open fun localToStageCoordinates(p0: Vector2): Vector2
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
open fun moveBy(p0: Float, p1: Float)
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 needsLayout(): Boolean
Link copied to clipboard
open fun notify(p0: Event, p1: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun pack()
Link copied to clipboard
open fun pad(p0: Value): Table
open fun pad(p0: Float): Table
open fun pad(p0: Value, p1: Value, p2: Value, p3: Value): Table
open fun pad(p0: Float, p1: Float, p2: Float, p3: Float): Table
Link copied to clipboard
open fun padBottom(p0: Value): Table
open fun padBottom(p0: Float): Table
Link copied to clipboard
open fun padLeft(p0: Value): Table
open fun padLeft(p0: Float): Table
Link copied to clipboard
open fun padRight(p0: Value): Table
open fun padRight(p0: Float): Table
Link copied to clipboard
open fun padTop(p0: Value): Table
open fun padTop(p0: Float): Table
Link copied to clipboard
open fun parentToLocalCoordinates(p0: Vector2): Vector2
Link copied to clipboard
open fun remove(): Boolean
Link copied to clipboard
open fun removeAction(@Null p0: Action)
Link copied to clipboard
open override fun removeActor(p0: Actor): Boolean
open override fun removeActor(p0: Actor, p1: Boolean): Boolean
Link copied to clipboard
open override fun removeActorAt(p0: Int, p1: Boolean): Actor
Link copied to clipboard
open fun removeCaptureListener(p0: EventListener): Boolean
Link copied to clipboard
open fun removeListener(p0: EventListener): Boolean
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun right(): Table
Link copied to clipboard
open fun rotateBy(p0: Float)
Link copied to clipboard
open fun row(): Cell<Actor>
Link copied to clipboard
open fun scaleBy(p0: Float)
open fun scaleBy(p0: Float, p1: Float)
Link copied to clipboard
open fun screenToLocalCoordinates(p0: Vector2): Vector2
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
open fun setBackground(p0: String)
Link copied to clipboard
open fun setBounds(p0: Float, p1: Float, p2: Float, p3: Float)
Link copied to clipboard
open fun setColor(p0: Float, p1: Float, p2: Float, p3: Float)
Link copied to clipboard
open fun setDebug(p0: Boolean, p1: Boolean)
open override fun setDebug(p0: Boolean)
Link copied to clipboard
open override fun setFillParent(p0: Boolean)
Link copied to clipboard
open override fun setLayoutEnabled(p0: Boolean)
Link copied to clipboard
open fun setMaxLength(p0: Int)
Link copied to clipboard
open fun setOrigin(p0: Int)
open fun setOrigin(p0: Float, p1: Float)
Link copied to clipboard
open fun setPosition(p0: Float, p1: Float)
open fun setPosition(p0: Float, p1: Float, p2: Int)
Link copied to clipboard
open fun setRound(p0: Boolean)
Link copied to clipboard
open fun setScale(p0: Float)
open fun setScale(p0: Float, p1: Float)
Link copied to clipboard
open fun setSelectorName(p0: String)
Link copied to clipboard
open fun setSize(p0: Float, p1: Float)
Link copied to clipboard
open fun setX(p0: Float, p1: Int)
Link copied to clipboard
open fun setY(p0: Float, p1: Int)
Link copied to clipboard
open fun setZIndex(p0: Int): Boolean
Link copied to clipboard
open fun sizeBy(p0: Float)
open fun sizeBy(p0: Float, p1: Float)
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 fun stack(@Null vararg p0: Actor): Cell<Stack>
Link copied to clipboard
open fun stageToLocalCoordinates(p0: Vector2): Vector2
Link copied to clipboard
open override fun <T : Actor> storeActor(actor: T): Cell<T>
Link copied to clipboard
open fun swapActor(p0: Actor, p1: Actor): Boolean
open fun swapActor(p0: Int, p1: Int): Boolean
Link copied to clipboard
inline fun <S> KWidget<S>.tabbedPane(style: String = defaultStyle, init: KTabbedPane.(S) -> Unit = {}): KTabbedPane
Link copied to clipboard
open fun toBack()
Link copied to clipboard
open fun toFront()
Link copied to clipboard
open fun top(): Table
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun validate()
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
fun Actor.visTextTooltip(text: CharSequence, textAlign: Int = Align.center, style: String = defaultStyle, init: Tooltip.() -> Unit = {}): Tooltip

Creates and adds Tooltip with a VisLabel to this Actor.

Link copied to clipboard
fun Actor.visTooltip(content: Actor, style: String = defaultStyle, init: Tooltip.() -> Unit = {}): Tooltip

Creates and adds Tooltip to this Actor.

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