X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..e9397f91ede62d446aed37d23256e8938fc4c335:/docs/output/Ext.Toolbar.html diff --git a/docs/output/Ext.Toolbar.html b/docs/output/Ext.Toolbar.html index ef1eff03..65dc614d 100644 --- a/docs/output/Ext.Toolbar.html +++ b/docs/output/Ext.Toolbar.html @@ -1,4 +1,8 @@ -
Observable Component BoxComponent Container Toolbar
Package: | Ext |
Defined In: | Toolbar.js |
Class: | Toolbar |
Subclasses: | PagingToolbar |
Extends: | Container |
Basic Toolbar class. Although the defaultType for Toolbar +
Observable + Component + BoxComponent + Container + Toolbar
Package: | Ext |
Defined In: | Toolbar.js |
Class: | Toolbar |
Subclasses: | PagingToolbar |
Extends: | Container |
Basic Toolbar class. Although the defaultType for Toolbar is button, Toolbar elements (child items for the Toolbar container) may be virtually any type of Component. Toolbar elements can be created explicitly via their constructors, or implicitly via their xtypes, and can be added dynamically.
@@ -283,8 +287,8 @@ items: [ autoScroll: false // will be applied here, panel2 will be autoScroll:true. }) ]true to make the toolbar provide a button
-which activates a dropdown Menu to show items which overflow the Toolbar's width.
The label text to display next to this Component (defaults to '').
Note: this config is only used when this Component is rendered by a Container which has been configured to use the FormLayout layout manager (e.g. @@ -858,12 +862,12 @@ Note: See the notes within Ext.Container.add.
Note: See the notes within Ext.Container.add.
text
: StringExt.Toolbar.Item
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).
@@ -1065,7 +1071,7 @@ Note: See the notes within Ext.Container.add.Note: See the notes within Ext.Container.add.
index
: Numberitem
: Object/Ext.Toolbar.Item/Ext.Button/ArrayExt.Button/Item
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 @@ -1077,7 +1083,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