
java.lang.Object
|---ohos.agp.components.ComponentHolder
public class ComponentHolder
extends Object表示 XML 文件中的组件持有者(布局)。
| 修饰符和类型 | 方法 | 描述 | 
|---|---|---|
| void | hide() | 在父布局中隐藏此 ComponentHolder 布局。 | 
| Component | show() | 在父布局中显示此 ComponentHolder 布局。 | 
| 从类 java.lang.Object 继承的方法 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
public Component show()
在父布局中显示此 ComponentHolder 布局。
返回:
返回此 ComponentHolder 布局中的组件。
public void hide()
在父布局中隐藏此 ComponentHolder 布局。
Copyright © 2009-2022 www.wtcwzsj.com 青羊区广皓图文设计工作室(个体工商户) 版权所有 蜀ICP备19037934号