X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..refs/heads/old:/docs/output/Ext.menu.Menu.html?ds=inline diff --git a/docs/output/Ext.menu.Menu.html b/docs/output/Ext.menu.Menu.html index b1111210..58c7f4c4 100644 --- a/docs/output/Ext.menu.Menu.html +++ b/docs/output/Ext.menu.Menu.html @@ -1,4 +1,8 @@ -
Package: | Ext.menu |
Defined In: | Menu.js |
Class: | Menu |
Subclasses: | ColorMenu, DateMenu |
Extends: | Container |
A menu object. This is the container to which you may add menu items. Menu can also serve as a base class +
Observable + Component + BoxComponent + Container + Menu
Package: | Ext.menu |
Defined In: | Menu.js |
Class: | Menu |
Subclasses: | ColorMenu, DateMenu |
Extends: | Container |
A menu object. This is the container to which you may add menu items. Menu can also serve as a base class when you want a specialized menu based off of another component (like Ext.menu.DateMenu for example).
Menus may contain either menu items, or general Components.
To make a contained general Component line up with other menu items
@@ -728,12 +732,12 @@ Or a shorthand syntax:
:
Ext.menu.Item
text
: StringExt.menu.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).
@@ -926,7 +932,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 @@ -938,7 +944,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