掃二維碼與項(xiàng)目經(jīng)理溝通
我們?cè)谖⑿派?4小時(shí)期待你的聲音
解答本文疑問(wèn)/技術(shù)咨詢/運(yùn)營(yíng)咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流

成都創(chuàng)新互聯(lián)專業(yè)為企業(yè)提供鎮(zhèn)原網(wǎng)站建設(shè)、鎮(zhèn)原做網(wǎng)站、鎮(zhèn)原網(wǎng)站設(shè)計(jì)、鎮(zhèn)原網(wǎng)站制作等企業(yè)網(wǎng)站建設(shè)、網(wǎng)頁(yè)設(shè)計(jì)與制作、鎮(zhèn)原企業(yè)網(wǎng)站模板建站服務(wù),十多年鎮(zhèn)原做網(wǎng)站經(jīng)驗(yàn),不只是建網(wǎng)站,更提供有價(jià)值的思路和整體網(wǎng)絡(luò)服務(wù)。
java.lang.Object
|---ohos.agp.components.LayoutManager
|---|---ohos.agp.components.TableLayoutManager
public class TableLayoutManager
extends LayoutManager表示 ListContainer 對(duì)象的表布局管理器。
Since:
5
| 構(gòu)造函數(shù) | 描述 |
|---|---|
| TableLayoutManager() | 用于創(chuàng)建 TableLayoutManager 實(shí)例的默認(rèn)構(gòu)造函數(shù)。 |
| 修飾符和類型 | 方法 | 描述 |
|---|---|---|
| int | getColumnCount() | 獲取表中的列數(shù)。 |
| int | getRowCount() | 獲取表中的行數(shù)。 |
| void | setColumnCount(int columnCount) | 設(shè)置表中的列數(shù)。 |
| void | setRowCount(int rowCount) | 設(shè)置表中的行數(shù)。 |
| 從類 ohos.agp.components.LayoutManager 繼承的方法 |
|---|
| getOrientation, setOrientation |
| 從類 java.lang.Object 繼承的方法 |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
public TableLayoutManager()
用于創(chuàng)建 TableLayoutManager 實(shí)例的默認(rèn)構(gòu)造函數(shù)。
Since:
5
public void setColumnCount(int columnCount)
設(shè)置表中的列數(shù)。
參數(shù):
| 參數(shù)名稱 | 參數(shù)描述 |
|---|---|
| columnCount | 表示列數(shù)。 |
Since:
5
public int getColumnCount()
獲取表中的列數(shù)。
返回:
返回列數(shù)。
Since:
5
public void setRowCount(int rowCount)
設(shè)置表中的行數(shù)。
參數(shù):
| 參數(shù)名稱 | 參數(shù)描述 |
|---|---|
| rowCount | 表示行數(shù)。 |
Since:
5
public int getRowCount()
獲取表中的行數(shù)。
返回:
返回行數(shù)。
Since:
5

我們?cè)谖⑿派?4小時(shí)期待你的聲音
解答本文疑問(wèn)/技術(shù)咨詢/運(yùn)營(yíng)咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流