av激情亚洲男人的天堂国语,日韩欧美精品一中文字幕,无码av一区二区三区无码,国产又色又爽又刺激的a片,国产又色又爽又刺激的a片

創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSTableLayout.LayoutConfig

TableLayout.LayoutConfig

java.lang.Object

|---ohos.agp.components.ComponentContainer.LayoutConfig

|---|---ohos.agp.components.TableLayout.LayoutConfig

public static class TableLayout.LayoutConfig
extends ComponentContainer.LayoutConfig

提供表格布局所需的布局配置。

表格布局配置集成了 ComponentContainer.LayoutConfig 并提供了 TableLayout.Specification。 前者表示組件容器中的邊距布局配置,后者表示行和列規(guī)范。

Since:

3

字段摘要

修飾符和類型 字段 描述
TableLayout.SpecificationcolumnSpec指示表格布局中的列規(guī)范。
TableLayout.SpecificationrowSpec指示表格布局中的行規(guī)范。
從類 ohos.agp.components.ComponentContainer.LayoutConfig 繼承的字段
height, MATCH_CONTENT, MATCH_PARENT, width

構造函數(shù)摘要

構造函數(shù) 描述
LayoutConfig()用于創(chuàng)建 LayoutConfig 實例的默認構造函數(shù)。
LayoutConfig(int width, int height)用于指定表格布局的寬度和高度的構造函數(shù)。
LayoutConfig(ComponentContainer.LayoutConfig params)用于復制 ComponentContainer.LayoutConfig 實例的構造函數(shù)。
LayoutConfig(TableLayout.LayoutConfig source)用于復制 LayoutConfig 實例的行和列規(guī)范的構造函數(shù)。
LayoutConfig(TableLayout.Specification rowSpec, TableLayout.Specification columnSpec)用于在表格布局中創(chuàng)建行和列規(guī)范的構造函數(shù)。
LayoutConfig(Context context, AttrSet attrSet)用于根據(jù)上下文和屬性集創(chuàng)建 LayoutConfig 實例的構造函數(shù)。

方法總結

從類 ohos.agp.components.ComponentContainer.LayoutConfig 繼承的方法
clone, getHorizontalEndMargin, getHorizontalStartMargin, getLayoutDirection, getMarginBottom, getMarginLeft, getMarginRight, getMargins, getMarginsLeftAndRight, getMarginsTopAndBottom, getMarginTop, isMarginsRelative, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginsLeftAndRight, setMarginsRelative, setMarginsTopAndBottom, setMarginTop
從類 java.lang.Object 繼承的方法
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

字段詳細信息

columnSpec

public TableLayout.Specification columnSpec

指示表格布局中的列規(guī)范。

Since:

1

rowSpec

public TableLayout.Specification rowSpec

指示表格布局中的行規(guī)范。

Since:

1

構造函數(shù)詳細信息

LayoutConfig

public LayoutConfig()

用于創(chuàng)建 LayoutConfig 實例的默認構造函數(shù)。

Since:

3

LayoutConfig

public LayoutConfig(Context context, AttrSet attrSet)

用于根據(jù)上下文和屬性集創(chuàng)建 LayoutConfig 實例的構造函數(shù)。

參數(shù):

參數(shù)名稱 參數(shù)描述
context指示應用程序上下文。
attrSet指示要使用的屬性集。

Since:

3

LayoutConfig

public LayoutConfig(TableLayout.Specification rowSpec, TableLayout.Specification columnSpec)

用于在表格布局中創(chuàng)建行和列規(guī)范的構造函數(shù)。

參數(shù):

參數(shù)名稱 參數(shù)描述
rowSpec指示表格布局中的行規(guī)范。
columnSpec指示表格布局中的列規(guī)范。

Since:

3

LayoutConfig

public LayoutConfig(int width, int height)

用于指定表格布局的寬度和高度的構造函數(shù)。

參數(shù):

參數(shù)名稱 參數(shù)描述
width表示表格布局的寬度,不能小于0。
height表示表格布局的高度,不能小于0。

Since:

3

LayoutConfig

public LayoutConfig(TableLayout.LayoutConfig source)

用于復制 LayoutConfig 實例的行和列規(guī)范的構造函數(shù)。

參數(shù):

參數(shù)名稱 參數(shù)描述
source指示要復制的表格布局。

Since:

3

LayoutConfig

public LayoutConfig(ComponentContainer.LayoutConfig params)

用于復制 ComponentContainer.LayoutConfig 實例的構造函數(shù)。

該方法調用父類ComponentContainer中同名的方法。

參數(shù):

參數(shù)名稱 參數(shù)描述
params指示要復制的布局參數(shù)。

Since:

3


網站名稱:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSTableLayout.LayoutConfig
當前路徑:http://uogjgqi.cn/article/dpgoihh.html
掃二維碼與項目經理溝通

我們在微信上24小時期待你的聲音

解答本文疑問/技術咨詢/運營咨詢/技術建議/互聯(lián)網交流