ExtJS 4/Sencha 触控容器、组件、元素和面板 [英] ExtJS 4 / Sencha Touch Container, Component, Element and Panel

查看:26
本文介绍了ExtJS 4/Sencha 触控容器、组件、元素和面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Container、Component、Element、Panel 有什么关系或区别?

What are the relations or differences between Container, Component, Element and Panel?

请帮忙.

推荐答案

如果简要...

Element 是 DOM 元素的包装器.

Element is wrapper for DOM element.

Component 是所有小部件的基本类.

Component is basic class for all widgets.

Container 是 Component 的子类.它可以有项目"(即容器可以包含其他组件).

Container is subclass of Component. It can have "items" (i.e. Container can contain other components).

Panel 是 Container 的子类.它可以有页眉、页脚、工具栏和其他停靠的项目.

Panel is subclass of Container. It can have header, footer, toolbars, and other docked items.

您可以在 Layouts & 中找到更多信息.容器组件

这篇关于ExtJS 4/Sencha 触控容器、组件、元素和面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆