X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.Container.html diff --git a/docs/output/Ext.Container.html b/docs/output/Ext.Container.html index 6fcdfd18..43e286a3 100644 --- a/docs/output/Ext.Container.html +++ b/docs/output/Ext.Container.html @@ -1,4 +1,7 @@ -
Observable Component BoxComponent Container
Package: | Ext |
Defined In: | Container.js |
Class: | Container |
Subclasses: | Panel, Toolbar, Viewport, Menu |
Extends: | BoxComponent |
Base class for any Ext.BoxComponent that may contain other Components. Containers handle the +
Observable + Component + BoxComponent + Container
Package: | Ext |
Defined In: | Container.js |
Class: | Container |
Subclasses: | Panel, Toolbar, Viewport, Menu |
Extends: | BoxComponent |
Base class for any Ext.BoxComponent that may contain other Components. Containers handle the basic behavior of containing items, namely adding, inserting and removing items.
The most commonly used Container classes are Ext.Panel, Ext.Window and Ext.TabPanel.
If you do not need the capabilities offered by the aforementioned classes you can create a lightweight
@@ -962,12 +965,12 @@ Or a shorthand syntax:
scope: this
});
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).
@@ -1164,7 +1169,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 @@ -1176,7 +1181,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
Observable|Element item
, Object|String ename
, Function fn
, Object scope
, Object opt
)
:
void