ExtJS 4 / Sencha Touch集装箱,组件,元件和面板 [英] ExtJS 4 / Sencha Touch Container, Component, Element and Panel

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

问题描述



请帮助。

解决方案

如果简短...



元素是DOM元素的包装。



组件是所有小部件的基本类。



容器是子类的组件。它可以具有项目(即容器可以包含其他组件)。



面板是Container的子类。它可以有页眉,页脚,工具栏和其他停靠的项目。



您可以在布局&容器组件


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

Please help.

解决方案

If briefly...

Element is wrapper for DOM element.

Component is basic class for all widgets.

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

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

You can find more info in Layouts & Containers and Components

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

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