public class TableLayoutManager extends LayoutManager
ListContainer objects.| 构造器 | 说明 |
|---|---|
TableLayoutManager() |
Default constructor used to create a
TableLayoutManager instance. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getColumnCount() |
Obtains the number of columns in the table.
|
int |
getRowCount() |
Obtains the number of rows in the table.
|
void |
setColumnCount(int columnCount) |
Sets the number of columns in the table.
|
void |
setRowCount(int rowCount) |
Sets the number of rows in the table.
|
getOrientation, setOrientationpublic TableLayoutManager()
TableLayoutManager instance.public void setColumnCount(int columnCount)
columnCount - Indicates the number of columns.public int getColumnCount()
public void setRowCount(int rowCount)
rowCount - Indicates the number of rows.public int getRowCount()