鸿蒙OS开发文档 鸿蒙OS TransitionComponents

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

TransitionComponents

java.lang.Object
|---ohos.agp.transition.TransitionComponents

public class TransitionComponents
extends Object

设置过渡的组件,包括开始或结束组件。

Since:

3

构造函数摘要

构造函数描述
TransitionComponents(ComponentContainer root, ComponentContainer layout)用于根据指定的组件容器和布局创建 TransitionComponents 实例的构造函数。

方法总结

从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

构造函数详细信息

TransitionComponents

public TransitionComponents(ComponentContainer root, ComponentContainer layout)

用于根据指定的组件容器和布局创建 TransitionComponents 实例的构造函数。

参数:

参数名称参数描述
root表示组件容器。
layout表示布局。

Since:

3