Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Container
        Panel

Class CQ.Ext.Panel

Package:CQ.Ext
Class:Panel
Subclasses:CustomContentPanel, ButtonGroup, TabPanel, Tip, Window, FieldSet, FormPanel, GridPanel, TreePanel, IframePanel, VideoEncodingPanel, AssetEditor, ComponentSelector, CompositeField, EditableClickstreamcloud.FormSection, Lens, LensContainer, QueryBuilder, BulkEditor, ContentFinderTab, EditBar, SiteAdminSearchPanel, BlueprintStatus, BlueprintStatus.Tree
Extends:CQ.Ext.Container
Clientlib:cq.widgets
xtype:panel

Panel is a container that has specific functionality and structural components that make it the perfect building block for application-oriented user interfaces.

Panels are, by virtue of their inheritance from CQ.Ext.Container, capable of being configured with a layout, and containing child Components.

When either specifying child items of a Panel, or dynamically adding Components to a Panel, remember to consider how you wish the Panel to arrange those child elements, and whether those child elements need to be sized using one of Ext's built-in layout schemes. By default, Panels use the ContainerLayout scheme. This simply renders child components, appending them one after the other inside the Container, and does not apply any sizing at all.

A Panel may also contain bottom and top toolbars, along with separate header, footer and body sections (see frame for additional information).

Panel also provides built-in expandable and collapsible behavior, along with a variety of prebuilt tool buttons that can be wired up to provide other customized behavior. Panels can be easily dropped into any Container or layout, and the layout and rendering pipeline is completely managed by the framework.

Config Options

Config Options Defined By
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
  pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
  pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
  x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
  y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent

Public Properties

Property Defined By
  buttons : Array
This Panel's Array of buttons as created from the buttons config property. Read only.
Panel
  bwrap : CQ.Ext.Element
The Panel's bwrap Element used to contain other Panel elements (tbar, body, bbar, footer). See bodyCfg. Read-only.
Panel
  collapsed : Boolean
True if this panel is collapsed. Read-only.
Panel
  disabled : Boolean
True if this component is disabled. Read-only.
Component
  header : CQ.Ext.Element
The Panel's header Element. Read-only.

This Element is used to house the title and tools


Note: see the Note for el also.

Panel
  hidden : Boolean
True if this component is hidden. Read-only.
Component
  initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
  items : MixedCollection
The collection of components in this container as a CQ.Ext.util.MixedCollection
Container
  refOwner : CQ.Ext.Container The
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By