A list (aka list box) displays textual items and highlights the currently selected item.
ChangeListener.ChangeEvent
is fired when the list selection changes.
The preferred size of the list is determined by the text bounds of the items and the size of the List.ListStyle.selection
.
字段摘要 | |
---|---|
String |
color
|
String |
constructor
|
String |
fillParent
If true, this actor will be sized to the parent in Layout.validate() . |
String |
height
|
String |
items
|
String |
label
|
String |
layoutEnabled
Enables or disables the layout for this actor and all child actors, recursively. |
String |
name
|
String |
originX
|
String |
originY
|
String |
rotation
|
String |
scale
|
String |
scaleX
|
String |
scaleY
|
String |
selectable
Sets whether this List's items are selectable. |
String |
selectedIndex
|
String |
selectedItem
|
String |
skin
|
String |
style
|
String |
styleName
|
String |
touchable
|
String |
visible
|
String |
width
|
String |
x
|
String |
y
|
String |
zindex
|
方法摘要 | |
---|---|
|
JavaAction
|
|
create
|
子事物摘要 |
---|
字段详细信息 |
---|
If true, this actor will be sized to the parent in Layout.validate()
.
Enables or disables the layout for this actor and all child actors, recursively.
Sets whether this List's items are selectable.
方法详细信息 |
---|
子事物详细信息 |
---|