Example usage for Java com.badlogic.gdx.scenes.scene2d.ui SelectBox fields, constructors, methods, implement or subclass
The text is from its open source code.
void | clearItems() |
Array | getItems() Retrieve the backing Array that makes up the chocies available in the SelectBox |
List | getList() Returns the list shown when the select box is open. |
T | getSelected() Returns the first selected item, or null. |
int | getSelectedIndex() |
void | setItems(T... newItems) Set the backing Array that makes up the choices available in the SelectBox |
void | setItems(Array Set the backing Array that makes up the choices available in the SelectBox |
void | setSelected(T item) Sets the selection to only the passed item, if it is a possible choice, else selects the first item. |
void | setSelectedIndex(int index) Sets the selection to only the selected index. |