Package | Description |
---|---|
com.badlogic.gdx.scenes.scene2d.ui |
Modifier and Type | Method and Description |
---|---|
Cell |
Table.add()
Adds a cell without an actor.
|
Cell<Label> |
Table.add(String text)
Adds a new cell with a label.
|
Cell<Label> |
Table.add(String text,
String labelStyleName)
Adds a new cell with a label.
|
Cell<Label> |
Table.add(String text,
String fontName,
Color color)
Adds a new cell with a label.
|
Cell<Label> |
Table.add(String text,
String fontName,
String colorName)
Adds a new cell with a label.
|
<T extends Actor> |
Table.add(T actor)
Adds a new cell to the table with the specified actor.
|
Cell<T> |
Cell.align(int align)
Sets the alignment of the actor within the cell.
|
Cell<T> |
Cell.bottom()
Adds
Align.bottom and clears Align.top for the alignment of the actor within the cell. |
Cell<T> |
Cell.center()
Sets the alignment of the actor within the cell to
Align.center . |
Cell<T> |
Cell.clearActor()
Removes the current actor for the cell, if any.
|
Cell<T> |
Cell.colspan(int colspan) |
Cell |
Table.columnDefaults(int column)
Gets the cell values that will be used as the defaults for all cells in the specified column.
|
Cell |
Table.defaults()
The cell values that will be used as the defaults for all cells.
|
Cell<T> |
Cell.expand()
Sets expandX and expandY to 1.
|
Cell<T> |
Cell.expand(boolean x,
boolean y)
Sets expandX and expandY to 1 if true, 0 if false.
|
Cell<T> |
Cell.expand(int x,
int y) |
Cell<T> |
Cell.expandX()
Sets expandX to 1.
|
Cell<T> |
Cell.expandY()
Sets expandY to 1.
|
Cell<T> |
Cell.fill()
Sets fillX and fillY to 1.
|
Cell<T> |
Cell.fill(boolean fill)
Sets fillX and fillY to 1 if true, 0 if false.
|
Cell<T> |
Cell.fill(boolean x,
boolean y)
Sets fillX and fillY to 1 if true, 0 if false.
|
Cell<T> |
Cell.fill(float x,
float y) |
Cell<T> |
Cell.fillX()
Sets fillX to 1.
|
Cell<T> |
Cell.fillY()
Sets fillY to 1.
|
<T extends Actor> |
Table.getCell(T actor)
Returns the cell for the specified actor in this table, or null.
|
Cell |
ImageTextButton.getImageCell() |
Cell |
ImageButton.getImageCell() |
Cell |
CheckBox.getImageCell() |
Cell |
TextButton.getLabelCell() |
Cell |
ImageTextButton.getLabelCell() |
Cell<T> |
Cell.height(float height)
Sets the minHeight, prefHeight, and maxHeight to the specified value.
|
Cell<T> |
Cell.height(Value height)
Sets the minHeight, prefHeight, and maxHeight to the specified value.
|
Cell<T> |
Cell.left()
Adds
Align.left and clears Align.right for the alignment of the actor within the cell. |
Cell<T> |
Cell.maxHeight(float maxHeight) |
Cell<T> |
Cell.maxHeight(Value maxHeight) |
Cell<T> |
Cell.maxSize(float size)
Sets the maxWidth and maxHeight to the specified value.
|
Cell<T> |
Cell.maxSize(float width,
float height)
Sets the maxWidth and maxHeight to the specified values.
|
Cell<T> |
Cell.maxSize(Value size)
Sets the maxWidth and maxHeight to the specified value.
|
Cell<T> |
Cell.maxSize(Value width,
Value height)
Sets the maxWidth and maxHeight to the specified values.
|
Cell<T> |
Cell.maxWidth(float maxWidth) |
Cell<T> |
Cell.maxWidth(Value maxWidth) |
Cell<T> |
Cell.minHeight(float minHeight) |
Cell<T> |
Cell.minHeight(Value minHeight) |
Cell<T> |
Cell.minSize(float size)
Sets the minWidth and minHeight to the specified value.
|
Cell<T> |
Cell.minSize(float width,
float height)
Sets the minWidth and minHeight to the specified values.
|
Cell<T> |
Cell.minSize(Value size)
Sets the minWidth and minHeight to the specified value.
|
Cell<T> |
Cell.minSize(Value width,
Value height)
Sets the minWidth and minHeight to the specified values.
|
Cell<T> |
Cell.minWidth(float minWidth) |
Cell<T> |
Cell.minWidth(Value minWidth) |
Cell<T> |
Cell.pad(float pad)
Sets the padTop, padLeft, padBottom, and padRight to the specified value.
|
Cell<T> |
Cell.pad(float top,
float left,
float bottom,
float right) |
Cell<T> |
Cell.pad(Value pad)
Sets the padTop, padLeft, padBottom, and padRight to the specified value.
|
Cell<T> |
Cell.pad(Value top,
Value left,
Value bottom,
Value right) |
Cell<T> |
Cell.padBottom(float padBottom) |
Cell<T> |
Cell.padBottom(Value padBottom) |
Cell<T> |
Cell.padLeft(float padLeft) |
Cell<T> |
Cell.padLeft(Value padLeft) |
Cell<T> |
Cell.padRight(float padRight) |
Cell<T> |
Cell.padRight(Value padRight) |
Cell<T> |
Cell.padTop(float padTop) |
Cell<T> |
Cell.padTop(Value padTop) |
Cell<T> |
Cell.prefHeight(float prefHeight) |
Cell<T> |
Cell.prefHeight(Value prefHeight) |
Cell<T> |
Cell.prefSize(float size)
Sets the prefWidth and prefHeight to the specified values.
|
Cell<T> |
Cell.prefSize(float width,
float height)
Sets the prefWidth and prefHeight to the specified value.
|
Cell<T> |
Cell.prefSize(Value size)
Sets the prefWidth and prefHeight to the specified value.
|
Cell<T> |
Cell.prefSize(Value width,
Value height)
Sets the prefWidth and prefHeight to the specified values.
|
Cell<T> |
Cell.prefWidth(float prefWidth) |
Cell<T> |
Cell.prefWidth(Value prefWidth) |
Cell<T> |
Cell.right()
Adds
Align.right and clears Align.left for the alignment of the actor within the cell. |
Cell |
Table.row()
Indicates that subsequent cells should be added to a new row and returns the cell values that will be used as the defaults
for all cells in the new row.
|
<A extends Actor> |
Cell.setActor(A newActor)
Sets the actor in this cell and adds the actor to the cell's table.
|
Cell<T> |
Cell.size(float size)
Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified value.
|
Cell<T> |
Cell.size(float width,
float height)
Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified values.
|
Cell<T> |
Cell.size(Value size)
Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified value.
|
Cell<T> |
Cell.size(Value width,
Value height)
Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified values.
|
Cell<T> |
Cell.space(float space)
Sets the spaceTop, spaceLeft, spaceBottom, and spaceRight to the specified value.
|
Cell<T> |
Cell.space(float top,
float left,
float bottom,
float right) |
Cell<T> |
Cell.space(Value space)
Sets the spaceTop, spaceLeft, spaceBottom, and spaceRight to the specified value.
|
Cell<T> |
Cell.space(Value top,
Value left,
Value bottom,
Value right) |
Cell<T> |
Cell.spaceBottom(float spaceBottom) |
Cell<T> |
Cell.spaceBottom(Value spaceBottom) |
Cell<T> |
Cell.spaceLeft(float spaceLeft) |
Cell<T> |
Cell.spaceLeft(Value spaceLeft) |
Cell<T> |
Cell.spaceRight(float spaceRight) |
Cell<T> |
Cell.spaceRight(Value spaceRight) |
Cell<T> |
Cell.spaceTop(float spaceTop) |
Cell<T> |
Cell.spaceTop(Value spaceTop) |
Cell<Stack> |
Table.stack(Actor... actors)
Adds a new cell to the table with the specified actors in a
Stack . |
Cell<T> |
Cell.top()
Adds
Align.top and clears Align.bottom for the alignment of the actor within the cell. |
Cell<T> |
Cell.uniform()
Sets uniformX and uniformY to true.
|
Cell<T> |
Cell.uniform(boolean x,
boolean y) |
Cell<T> |
Cell.uniformX()
Sets uniformX to true.
|
Cell<T> |
Cell.uniformY()
Sets uniformY to true.
|
Cell<T> |
Cell.width(float width)
Sets the minWidth, prefWidth, and maxWidth to the specified value.
|
Cell<T> |
Cell.width(Value width)
Sets the minWidth, prefWidth, and maxWidth to the specified value.
|
Modifier and Type | Method and Description |
---|---|
Array<Cell> |
Table.getCells()
Returns the cells for this table.
|
Copyright © 2015. All rights reserved.