Java com.badlogic.gdx.scenes.scene2d.ui List fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.scenes.scene2d.ui List fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.scenes.scene2d.ui List.

The text is from its open source code.

Subclass

com.badlogic.gdx.scenes.scene2d.ui.List has subclasses.
Click this link to see all its subclasses.

Constructor

Method

TgetSelected()
Returns the first selected item, or null.
ArraySelectiongetSelection()
voidsetItems(T... newItems)
voidsetItems(Array newItems)
Sets the current items, clearing the selection if it is no longer valid.
voidsetSelectedIndex(int index)
Sets the selection to only the selected index.