创新互联鸿蒙OS教程:鸿蒙OSTableLayoutManager
TableLayoutManager

成都创新互联专业为企业提供镇原网站建设、镇原做网站、镇原网站设计、镇原网站制作等企业网站建设、网页设计与制作、镇原企业网站模板建站服务,十多年镇原做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。
java.lang.Object
|---ohos.agp.components.LayoutManager
|---|---ohos.agp.components.TableLayoutManager
public class TableLayoutManager
extends LayoutManager表示 ListContainer 对象的表布局管理器。
Since:
5
构造函数摘要
| 构造函数 | 描述 |
|---|---|
| TableLayoutManager() | 用于创建 TableLayoutManager 实例的默认构造函数。 |
方法总结
| 修饰符和类型 | 方法 | 描述 |
|---|---|---|
| int | getColumnCount() | 获取表中的列数。 |
| int | getRowCount() | 获取表中的行数。 |
| void | setColumnCount(int columnCount) | 设置表中的列数。 |
| void | setRowCount(int rowCount) | 设置表中的行数。 |
| 从类 ohos.agp.components.LayoutManager 继承的方法 |
|---|
| getOrientation, setOrientation |
| 从类 java.lang.Object 继承的方法 |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造函数详细信息
TableLayoutManager
public TableLayoutManager()
用于创建 TableLayoutManager 实例的默认构造函数。
Since:
5
方法详情
setColumnCount
public void setColumnCount(int columnCount)
设置表中的列数。
参数:
| 参数名称 | 参数描述 |
|---|---|
| columnCount | 表示列数。 |
Since:
5
getColumnCount
public int getColumnCount()
获取表中的列数。
返回:
返回列数。
Since:
5
setRowCount
public void setRowCount(int rowCount)
设置表中的行数。
参数:
| 参数名称 | 参数描述 |
|---|---|
| rowCount | 表示行数。 |
Since:
5
getRowCount
public int getRowCount()
获取表中的行数。
返回:
返回行数。
Since:
5
网页名称:创新互联鸿蒙OS教程:鸿蒙OSTableLayoutManager
标题网址:http://www.jxjierui.cn/article/cdeepji.html


咨询
建站咨询
