KVisSelectBox

class KVisSelectBox<T>(style: String) : VisSelectBox<T>

Extends VisSelectBox with items building method.

Constructors

Link copied to clipboard
constructor(style: String)

Properties

Link copied to clipboard
val actions: Array<Action>
Link copied to clipboard
val captureListeners: DelayedRemovalArray<EventListener>
Link copied to clipboard
val clickListener: ClickListener
Link copied to clipboard
var color: Color
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var items: Array<T>
Link copied to clipboard
val listeners: DelayedRemovalArray<EventListener>
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val selection: ArraySelection<T>
Link copied to clipboard
@Null
@get:Null
var stage: Stage
Link copied to clipboard
var style: SelectBox.SelectBoxStyle
Link copied to clipboard
var touchable: Touchable
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 fun act(p0: Float)
Link copied to clipboard
open fun addAction(p0: Action)
Link copied to clipboard
open fun addCaptureListener(p0: EventListener): Boolean
Link copied to clipboard
open fun addListener(p0: EventListener): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun clearActions()
Link copied to clipboard
open fun clearItems()
Link copied to clipboard
open fun clearListeners()
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
open fun debug(): Actor
Link copied to clipboard
open override fun draw(p0: Batch, p1: Float)
Link copied to clipboard
open fun drawDebug(p0: ShapeRenderer)
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
open fun getList(): List<T>
Link copied to clipboard
open override fun getMaxHeight(): Float
Link copied to clipboard
open fun getMaxListCount(): Int
Link copied to clipboard
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 getRight(): Float
Link copied to clipboard
open fun getScrollPane(): SelectBox.SelectBoxScrollPane<Any>
Link copied to clipboard
@Null
open fun getSelected(): T
Link copied to clipboard
open fun getSelectedIndex(): Int
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
open fun hasActions(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun hasParent(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun hideList()
Link copied to clipboard
open fun hideScrollPane()
Link copied to clipboard
@Null
open fun hit(p0: Float, p1: Float, p2: Boolean): Actor
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 isOver(): 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 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 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
open fun moveBy(p0: Float, p1: Float)
Link copied to clipboard
open fun needsLayout(): Boolean
Link copied to clipboard
open fun notify(p0: Event, p1: Boolean): Boolean
Link copied to clipboard
open override fun pack()
Link copied to clipboard
open fun parentToLocalCoordinates(p0: Vector2): Vector2
Link copied to clipboard

Utility method. If the internal array with items stored by this widget was modified, use this method to safely refresh the items that this widget draws.

Link copied to clipboard
open fun remove(): Boolean
Link copied to clipboard
open fun removeAction(@Null p0: Action)
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 rotateBy(p0: Float)
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
open fun setAlignment(p0: Int)
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 override fun setFillParent(p0: Boolean)
Link copied to clipboard
open fun setItems(vararg p0: T)
Link copied to clipboard
open override fun setLayoutEnabled(p0: Boolean)
Link copied to clipboard
open fun setMaxListCount(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 setScale(p0: Float)
open fun setScale(p0: Float, p1: Float)
Link copied to clipboard
Link copied to clipboard
open fun setSelected(@Null p0: T)
Link copied to clipboard
open fun setSelectedIndex(p0: Int)
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 showList()
Link copied to clipboard
open fun showScrollPane()
Link copied to clipboard
open fun sizeBy(p0: Float)
open fun sizeBy(p0: Float, p1: Float)
Link copied to clipboard
open fun stageToLocalCoordinates(p0: Vector2): Vector2
Link copied to clipboard
open fun toBack()
Link copied to clipboard
open fun toFront()
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
operator fun T.unaryMinus()

Allows to add items to the select box with builder-like syntax.

Link copied to clipboard
open override fun validate()
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.