鸿蒙OS开发文档 鸿蒙OS DirectionalLayoutManager

2024-02-25 开发教程 鸿蒙OS开发文档 匿名 2

DirectionalLayoutManager

java.lang.Object
|---ohos.agp.components.LayoutManager
|---|---ohos.agp.components.DirectionalLayoutManager

public class DirectionalLayoutManager
extends LayoutManager

管理水平或垂直排列的组件的布局。

构造函数摘要

构造函数描述
DirectionalLayoutManager()用于创建 DirectionalLayoutManager 实例的默认构造函数。

方法总结

从类 ohos.agp.components.LayoutManager 继承的方法
getOrientation, setOrientation
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

构造函数详细信息

DirectionalLayoutManager

public DirectionalLayoutManager()

用于创建 DirectionalLayoutManager 实例的默认构造函数。