X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.Panel.html?ds=sidebyside diff --git a/docs/output/Ext.Panel.html b/docs/output/Ext.Panel.html index 648ee4dd..d9f278a9 100644 --- a/docs/output/Ext.Panel.html +++ b/docs/output/Ext.Panel.html @@ -1,4 +1,8 @@ -
Package: | Ext |
Defined In: | Panel.js |
Class: | Panel |
Subclasses: | ButtonGroup, TabPanel, Tip, Window, FieldSet, FormPanel, GridPanel, TreePanel |
Extends: | Container |
Panel is a container that has specific functionality and structural components that make +
Observable + Component + BoxComponent + Container + Panel
Package: | Ext |
Defined In: | Panel.js |
Class: | Panel |
Subclasses: | ButtonGroup, TabPanel, Tip, Window, FieldSet, FormPanel, GridPanel, TreePanel |
Extends: | Container |
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 Ext.Container, capable of being configured with a layout, and containing child Components.
@@ -141,7 +145,7 @@ element: }, footerCfg: { tag: 'h2', - cls: 'x-panel-footer' // same as the Default class + cls: 'x-panel-footer', // same as the Default class html: 'footer html' }, footerCssClass: 'custom-footer', // additional css class, see addClass @@ -1190,12 +1194,12 @@ Or a shorthand syntax:String/HTMLElement el
)
:
- voidel
: String/HTMLElementFunction fn
, [Object scope
], [Array args
] )
+ voidel
: String/HTMLElementFunction fn
, [Object scope
], [Array args
] )
:
- Ext.Containerfn
: Functionscope
: Objectargs
: ArrayExt.Container
Function fn
, [Object scope
], [Array args
] )
+the bubble is stopped.fn
: Functionscope
: Objectargs
: ArrayExt.Component
Function fn
, [Object scope
], [Array args
] )
:
Ext.Containerfn
: FunctionExt.Container
String/Class xtype
)
+true, the container will be returned.fn
: FunctionExt.Container
String/Ext.Component/Class xtype
, [Boolean shallow
] )
:
- Ext.Containerxtype
: String/ClassExt.Container
String eventName
, Object... args
)
+ Ext.Containerxtype
: String/Ext.Component/Classshallow
: BooleanExt.Container
String eventName
, Object... args
)
:
BooleanFires the specified event with the passed parameters (minus the event name).
@@ -1428,7 +1434,7 @@ property to the registered type of the Component wanted.Ext.Component
Boolean
String xtype
, [Boolean shallow
] )
+ BooleanBoolean
String/Ext.Component/Class xtype
, [Boolean shallow
] )
:
BooleanTests whether or not this Component is of a specific xtype. This can test whether this Component is descended @@ -1440,7 +1446,11 @@ to participate in determination of inherited xtypes.
var t = new Ext.form.TextField();
var isText = t.isXType('textfield'); // true
var isBoxSubclass = t.isXType('box'); // true, descended from BoxComponent
-var isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instance
xtype
: Stringshallow
: Booleanxtype
: String/Ext.Component/Classvar c = new Ext.Component();
+console.log(c.isXType(c));
+console.log(c.isXType(Ext.Component));
shallow
: BooleanBoolean
Object/String/Function config
)
:
Ext.Panelconfig
: Object/String/Function