PDA

View Full Version : 'additional capabilities of a Panel' contradiction



djbushby
13 Jul 2019, 6:06 PM
additional capabilities of a Panel (https://docs.sencha.com/extjs/7.0.0/modern/Ext.panel.Panel.html)
https://docs.sencha.com/extjs/7.0.0/guides/core_concepts/components.html

probably refers to
The Panel class has many capabilities:


Border
Header
Header tools
Footer
Footer buttons
Top toolbar
Bottom toolbar
Containing and managing child Components

If the required UI Component is to contain other Components, but does not need any of the previously mentioned additional capabilities of a Panel (https://docs.sencha.com/extjs/7.0.0/modern/Ext.panel.Panel.html), then Ext.container.Container (https://docs.sencha.com/extjs/7.0.0/modern/Ext.container.Container.html) is the appropriate class to extend.

This Implies Ext.container.Container (https://docs.sencha.com/extjs/7.0.0/modern/Ext.container.Container.html) does not contain 'Containing and managing child Components', if that is an 'additional capabilities of a Panel (https://docs.sencha.com/extjs/7.0.0/modern/Ext.panel.Panel.html),'.