X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.menu.Menu.html diff --git a/docs/output/Ext.menu.Menu.html b/docs/output/Ext.menu.Menu.html index 1fb6df53..b1111210 100644 --- a/docs/output/Ext.menu.Menu.html +++ b/docs/output/Ext.menu.Menu.html @@ -1,24 +1,24 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Container
        Menu

Class Ext.menu.Menu

Package:Ext.menu
Defined In:Menu.js
Class:Menu
Subclasses:ColorMenu, DateMenu
Extends:Container
xtype:menu

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 -specify iconCls: 'no-icon'. This reserves a space for an icon, and indents the Component in line -with the other menu items. See Ext.form.ComboBox.getListParent -for an example.

-

By default, Menus are absolutely positioned, floating Components. By configuring a Menu with +

Observable
  Component
    BoxComponent
      Container
        Menu

Class Ext.menu.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 +specify iconCls: 'no-icon'. This reserves a space for an icon, and indents the Component in line +with the other menu items. See Ext.form.ComboBox.getListParent +for an example.

+

By default, Menus are absolutely positioned, floating Components. By configuring a Menu with floating:false, a Menu may be used as child of a Container.

Config Options

Config OptionsDefined By
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 allowOtherMenus : Boolean
True to allow multiple menus to be displayed at the same time (defaults to false)
Menu
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 allowOtherMenus : Boolean
True to allow multiple menus to be displayed at the same time (defaults to false)
Menu
 data : Mixed
The initial set of data to apply to the tpl to +update the content area of the Component.
Component
 disabled : Boolean
Render this component disabled (default is false).
Component
 disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
 enableScrolling : Boolean
True to allow the menu container to have scroller controls if the menu is too long (defaults to true).
Menu
 items : Mixed
An array of items to be added to this menu. Menus may contain either menu items, +

Note: to access the container of an item see ownerCt.

Component
 items : Mixed
An array of items to be added to this menu. Menus may contain either menu items, or general Components.
Menu
 layoutConfig : Object
This is a config object containing properties specific to the chosen layout if layout has been specified as a string.

Container
 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
 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
 plain : Boolean
True to remove the incised line down the left side of the menu. Defaults to false.
Menu
 scrollIncrement : Number
The amount to scroll the menu. Only applies when enableScrolling is set to True (defaults to 24).
Menu
 resizeEvent : String
The event to listen to for resizing in layouts. Defaults to 'resize'.
Container
 scrollIncrement : Number
The amount to scroll the menu. Only applies when enableScrolling is set to True (defaults to 24).
Menu
 showSeparator : Boolean
True to show the icon separator. (defaults to true).
Menu
 subMenuAlign : String
The Ext.Element.alignTo anchor position value to use for submenus of -this menu (defaults to 'tl-tr?')
Menu
 subMenuAlign : String
The Ext.Element.alignTo anchor position value to use for submenus of +this menu (defaults to 'tl-tr?')
Menu
 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

PropertyDefined By
 disabled : Boolean
True if this component is disabled. Read-only.
Component
 y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent
 zIndex : Number
zIndex to use when the menu is floating.
Menu

Public Properties

PropertyDefined By
 disabled : Boolean
True if this component is disabled. Read-only.
Component
 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 Ext.util.MixedCollection
Container
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By
 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 Ext.util.MixedCollection
Container
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By

Public Events

EventDefined By