/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. Build date: 2013-04-03 15:07:25 */ Ext.data.JsonP.Ext_menu_BaseItem({"alternateClassNames":[],"aliases":{"widget":["menubaseitem"]},"enum":null,"parentMixins":[],"tagname":"class","subclasses":["Ext.menu.Item","Ext.menu.Separator","Ext.menu.TextItem"],"extends":"Ext.Component","uses":[],"html":"

Hierarchy

Subclasses

Files

The base class for all items that render into menus. BaseItem provides default rendering, activated state\nmanagement and base configuration options shared by all menu components.

\n
Defined By

Config options

Ext.menu.BaseItem
view source
: String
The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\") ...

The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")

\n

Defaults to: "x-menu-item-active"

Whether the component can move the Dom node when rendering (defaults to true). ...

Whether the component can move the Dom node when rendering (defaults to true).

\n

Defaults to: true

Specify the id of the element, a DOM element or an existing Element corresponding to a DIV\nthat is already present in...

Specify the id of the element, a DOM element or an existing Element corresponding to a DIV\nthat is already present in the document that specifies some structural markup for this\ncomponent.

\n\n\n
    \n
  • Description :
      \n
      When applyTo is used, constituent parts of the component can also be specified\nby id or CSS class name within the main element, and the component being created may attempt\nto create its subcomponents from that markup if applicable.
      \n
  • \n
  • Notes :
      \n
      When using this config, a call to render() is not required.
      \n
      If applyTo is specified, any value passed for renderTo will be ignored and the target\nelement's parent node will automatically be used as the component's container.
      \n
  • \n
\n\n
A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component. ...

A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component.

\n\n\n

You do not normally need to specify this. For the base classes Ext.Component, Ext.BoxComponent,\nand Ext.Container, this defaults to 'div'. The more complex Ext classes use a more complex\nDOM structure created by their own onRender methods.

\n\n\n

This is intended to allow the developer to create application-specific utility Components encapsulated by\ndifferent DOM elements. Example usage:

\n\n\n
{\n    xtype: 'box',\n    autoEl: {\n        tag: 'img',\n        src: 'http://www.example.com/example.jpg'\n    }\n}, {\n    xtype: 'box',\n    autoEl: {\n        tag: 'blockquote',\n        html: 'autoEl is cool!'\n    }\n}, {\n    xtype: 'container',\n    autoEl: 'ul',\n    cls: 'ux-unordered-list',\n    items: {\n        xtype: 'box',\n        autoEl: 'li',\n        html: 'First list item'\n    }\n}\n
\n\n

Defaults to: 'div'

True if the component should check for hidden classes (e.g. ...

True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove\nthem on render (defaults to false).

\n

Defaults to: false

An array of events that, when fired, should be bubbled to any parent container. ...

An array of events that, when fired, should be bubbled to any parent container.\nSee Ext.util.Observable.enableBubble.\nDefaults to [].\n\n

Defaults to: []

Ext.menu.BaseItem
view source
: Boolean
True if this item can be visually activated (defaults to false) ...

True if this item can be visually activated (defaults to false)

\n

Defaults to: false

The CSS class used to to apply to the special clearing div rendered\ndirectly after each form field wrapper to provide...

The CSS class used to to apply to the special clearing div rendered\ndirectly after each form field wrapper to provide field clearing (defaults to\n'x-form-clear-left').

\n\n\n

Note: this config is only used when this Component is rendered by a Container\n\n\n

which has been configured to use the FormLayout layout\nmanager (e.g. Ext.form.FormPanel or specifying layout:'form') and either a\nfieldLabel is specified or isFormField=true is specified.


\n\n

See Ext.layout.FormLayout.fieldTpl also.

\n\n
Length of time in milliseconds to wait before hiding after a click (defaults to 1) ...

Length of time in milliseconds to wait before hiding after a click (defaults to 1)

\n

Defaults to: 1

An optional extra CSS class that will be added to this component's Element (defaults to ''). ...

An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be\nuseful for adding customized styles to the component or any of its children using standard CSS rules.

\n
Optional. ...

Optional. Specify an existing HTML element, or the id of an existing HTML element to use as the content\nfor this component.

\n\n\n
    \n
  • Description :\n
    This config option is used to take an existing HTML element and place it in the layout element\nof a new component (it simply moves the specified DOM element after the Component is rendered to use as the content.
  • \n
  • Notes :\n
    The specified HTML element is appended to the layout element of the component after any configured\nHTML has been inserted, and so the document will not contain this element at the time the render event is fired.
    \n
    The specified HTML element used will not participate in any layout\nscheme that the Component may use. It is just HTML. Layouts operate on child items.
    \n
    Add either the x-hidden or the x-hide-display CSS class to\nprevent a brief flicker of the content before it is rendered to the panel.
  • \n
\n\n
An optional extra CSS class that will be added to this component's container. ...

An optional extra CSS class that will be added to this component's container. This can be useful for\nadding customized styles to the container or any of its children using standard CSS rules. See\nExt.layout.ContainerLayout.extraCls also.

\n\n\n

Note: ctCls defaults to '' except for the following class\nwhich assigns a value by default:\n

    \n
  • Box Layout : 'x-box-layout-ct'
  • \n
\nTo configure the above Class with an extra CSS class append to the default. For example,\nfor BoxLayout (Hbox and Vbox):\n
ctCls: 'x-box-layout-ct custom-class'\n
\n

\n\n

The initial set of data to apply to the tpl to\nupdate the content area of the Component.

\n

The initial set of data to apply to the tpl to\nupdate the content area of the Component.

\n
Render this component disabled (default is false). ...

Render this component disabled (default is false).

\n

Defaults to: false

CSS class added to the component when it is disabled (defaults to 'x-item-disabled'). ...

CSS class added to the component when it is disabled (defaults to 'x-item-disabled').

\n

Defaults to: 'x-item-disabled'

The label text to display next to this Component (defaults to ''). ...

The label text to display next to this Component (defaults to '').

\n\n\n

Note: this config is only used when this Component is rendered by a Container which\n\n\n

has been configured to use the FormLayout layout manager (e.g.\nExt.form.FormPanel or specifying layout:'form').


\n\n

Also see hideLabel and\nExt.layout.FormLayout.fieldTpl.

\n\n\n

Example use:

\n\n
new Ext.FormPanel({\n    height: 100,\n    renderTo: Ext.getBody(),\n    items: [{\n        xtype: 'textfield',\n        fieldLabel: 'Name'\n    }]\n});\n
\n\n
Ext.menu.BaseItem
view source
: Function
A function that will handle the click event of this menu item (optional). ...

A function that will handle the click event of this menu item (optional).\nThe handler is passed the following parameters:

    \n
  • b : Item
    This menu Item.
  • \n
  • e : EventObject
    The click event.
  • \n

\n
Render this component hidden (default is false). ...

Render this component hidden (default is false). If true, the\nhide method will be called internally.

\n

Defaults to: false

true to completely hide the label element\n(label and separator). ...

true to completely hide the label element\n(label and separator). Defaults to false.\nBy default, even if you do not specify a fieldLabel the space will still be\nreserved so that the field will line up with other fields that do have labels.\nSetting this to true will cause the field to not reserve that space.

\n\n\n

Note: see the note for clearCls.


\n\n\n

Example use:

\n\n
new Ext.FormPanel({\n    height: 100,\n    renderTo: Ext.getBody(),\n    items: [{\n        xtype: 'textfield'\n        hideLabel: true\n    }]\n});\n
\n\n
How this component should be hidden. ...

How this component should be hidden. Supported values are 'visibility'\n(css visibility), 'offsets' (negative offset position) and 'display'\n(css display).

\n\n\n

Note: the default of 'display' is generally preferred\n\n\n

since items are automatically laid out when they are first shown (no sizing\nis done while hidden).

\n

Defaults to: 'display'

Ext.menu.BaseItem
view source
: Boolean
True to hide the containing menu after this item is clicked (defaults to true) ...

True to hide the containing menu after this item is clicked (defaults to true)

\n

Defaults to: true

True to hide and show the component's container when hide/show is called on the component, false to hide\nand show the...

True to hide and show the component's container when hide/show is called on the component, false to hide\nand show the component itself (defaults to false). For example, this can be used as a shortcut for a hide\nbutton on a window by setting hide:true on the button when adding it to its parent container.

\n

Defaults to: false

An HTML fragment, or a DomHelper specification to use as the layout element\ncontent (defaults to ''). ...

An HTML fragment, or a DomHelper specification to use as the layout element\ncontent (defaults to ''). The HTML content is added after the component is rendered,\nso the document will not contain this HTML at the time the render event is fired.\nThis content is inserted into the body before any configured contentEl is appended.

\n
The unique id of this component (defaults to an auto-assigned id). ...

The unique id of this component (defaults to an auto-assigned id).\nYou should assign an id if you need to be able to access the component later and you do\nnot have an object reference available (e.g., using Ext.getCmp).

\n\n\n

Note that this id will also be used as the element id for the containing HTML element\nthat is rendered to the page for this component. This allows you to write id-based CSS\nrules to style the specific instance of this component uniquely, and also to select\nsub-elements using this component's id as the parent.

\n\n\n

Note: to avoid complications imposed by a unique id also see\nitemId and ref.

\n\n\n

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

\n\n
Note: this config is only used when this Component is rendered by a Container which\nhas been configured to use the Fo...

Note: this config is only used when this Component is rendered by a Container which\nhas been configured to use the FormLayout layout manager (e.g.\nExt.form.FormPanel or specifying layout:'form').

\n\n\n
\n\n\n

An additional CSS class to apply to the div wrapping the form item\nelement of this field. If supplied, itemCls at the field level will override\nthe default itemCls supplied at the container level. The value specified for\nitemCls will be added to the default class ('x-form-item').

\n\n\n

Since it is applied to the item wrapper (see\nExt.layout.FormLayout.fieldTpl), it allows\nyou to write standard CSS rules that can apply to the field, the label (if specified), or\nany other element within the markup for the field.

\n\n\n

Note: see the note for fieldLabel.


\n\n\n

Example use:

\n\n
// Apply a style to the field's label:\n<style>\n    .required .x-form-item-label {font-weight:bold;color:red;}\n</style>\n\nnew Ext.FormPanel({\n    height: 100,\n    renderTo: Ext.getBody(),\n    items: [{\n        xtype: 'textfield',\n        fieldLabel: 'Name',\n        itemCls: 'required' //this label will be styled\n    },{\n        xtype: 'textfield',\n        fieldLabel: 'Favorite Color'\n    }]\n});\n
\n\n
An itemId can be used as an alternative way to get a reference to a component\nwhen no object reference is available. ...

An itemId can be used as an alternative way to get a reference to a component\nwhen no object reference is available. Instead of using an id with\nExt.getCmp, use itemId with\nExt.Container.getComponent which will retrieve\nitemId's or id's. Since itemId's are an index to the\ncontainer's internal MixedCollection, the itemId is scoped locally to the container --\navoiding potential conflicts with Ext.ComponentMgr which requires a unique\nid.

\n\n\n
var c = new Ext.Panel({ //\n    height: 300,\n    renderTo: document.body,\n    layout: 'auto',\n    items: [\n        {\n            itemId: 'p1',\n            title: 'Panel 1',\n            height: 150\n        },\n        {\n            itemId: 'p2',\n            title: 'Panel 2',\n            height: 150\n        }\n    ]\n})\np1 = c.getComponent('p1'); // not the same as Ext.getCmp()\np2 = p1.ownerCt.getComponent('p2'); // reference via a sibling\n
\n\n\n

Also see id and ref.

\n\n\n

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

\n\n
The separator to display after the text of each\nfieldLabel. ...

The separator to display after the text of each\nfieldLabel. This property may be configured at various levels.\nThe order of precedence is:\n

    \n
  • field / component level
  • \n
  • container level
  • \n
  • layout level (defaults to colon ':')
  • \n
\nTo display no separator for this field's label specify empty string ''.

\n\n\n

Note: see the note for clearCls.


\n\n\n

Also see hideLabel and\nExt.layout.FormLayout.fieldTpl.

\n\n\n

Example use:

\n\n
new Ext.FormPanel({\n    height: 100,\n    renderTo: Ext.getBody(),\n    layoutConfig: {\n        labelSeparator: '~'   // layout config has lowest priority (defaults to ':')\n    },\n    labelSeparator: '>>',     // config at container level\n    items: [{\n        xtype: 'textfield',\n        fieldLabel: 'Field 1',\n        labelSeparator: '...' // field/component level config supersedes others\n    },{\n        xtype: 'textfield',\n        fieldLabel: 'Field 2' // labelSeparator will be '='\n    }]\n});\n
\n\n
A CSS style specification string to apply directly to this field's\nlabel. ...

A CSS style specification string to apply directly to this field's\nlabel. Defaults to the container's labelStyle value if set (e.g.,\nExt.layout.FormLayout.labelStyle , or '').

\n\n\n

Note: see the note for clearCls.


\n\n\n

Also see hideLabel and\nExt.layout.FormLayout.fieldTpl.

\n\n\n

Example use:

\n\n
new Ext.FormPanel({\n    height: 100,\n    renderTo: Ext.getBody(),\n    items: [{\n        xtype: 'textfield',\n        fieldLabel: 'Name',\n        labelStyle: 'font-weight:bold;'\n    }]\n});\n
\n\n
(optional) A config object containing one or more event handlers to be added to this\nobject during initialization. ...

(optional)

A config object containing one or more event handlers to be added to this\nobject during initialization. This should be a valid listeners config object as specified in the\naddListener example for attaching multiple handlers at once.

\n\n

DOM events from ExtJs Components

\n\n\n

While some ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this\n\n\n

is usually only done when extra value can be added. For example the DataView's\nclick event passing the node clicked on. To access DOM\nevents directly from a Component's HTMLElement, listeners must be added to the Element after the Component\nhas been rendered. A plugin can simplify this step:

\n\n
// Plugin is configured with a listeners config object.\n// The Component is appended to the argument list of all handler functions.\nExt.DomObserver = Ext.extend(Object, {\n    constructor: function(config) {\n        this.listeners = config.listeners ? config.listeners : config;\n    },\n\n    // Component passes itself into plugin's init method\n    init: function(c) {\n        var p, l = this.listeners;\n        for (p in l) {\n            if (Ext.isFunction(l[p])) {\n                l[p] = this.createHandler(l[p], c);\n            } else {\n                l[p].fn = this.createHandler(l[p].fn, c);\n            }\n        }\n\n        // Add the listeners to the Element immediately following the render call\n        c.render = c.render.createSequence(function() {\n            var e = c.getEl();\n            if (e) {\n                e.on(l);\n            }\n        });\n    },\n\n    createHandler: function(fn, c) {\n        return function(e) {\n            fn.call(this, e, c);\n        };\n    }\n});\n\nvar combo = new Ext.form.ComboBox({\n\n    // Collapse combo when its element is clicked on\n    plugins: [ new Ext.DomObserver({\n        click: function(evt, comp) {\n            comp.collapse();\n        }\n    })],\n    store: myStore,\n    typeAhead: true,\n    mode: 'local',\n    triggerAction: 'all'\n});\n
\n\n\n

\n
An optional extra CSS class that will be added to this component's Element when the mouse moves\nover the Element, and...

An optional extra CSS class that will be added to this component's Element when the mouse moves\nover the Element, and removed when the mouse moves out. (defaults to ''). This can be\nuseful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.

\n
An object or array of objects that will provide custom functionality for this component. ...

An object or array of objects that will provide custom functionality for this component. The only\nrequirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component.\nWhen a component is created, if any plugins are available, the component will call the init method on each\nplugin, passing a reference to itself. Each plugin can then call methods or respond to events on the\ncomponent as needed to provide its functionality.

\n
The registered ptype to create. ...

The registered ptype to create. This config option is not used when passing\na config object into a constructor. This config option is used only when\nlazy instantiation is being used, and a Plugin is being\nspecified not as a fully instantiated Component, but as a Component config\nobject. The ptype will be looked up at render time up to determine what\ntype of Plugin to create.

\nIf you create your own Plugins, you may register them using\nExt.ComponentMgr.registerPlugin in order to be able to\ntake advantage of lazy instantiation and rendering.

\n
A path specification, relative to the Component's ownerCt\nspecifying into which ancestor Container to place a named r...

A path specification, relative to the Component's ownerCt\nspecifying into which ancestor Container to place a named reference to this Component.

\n\n\n

The ancestor axis can be traversed by using '/' characters in the path.\nFor example, to put a reference to a Toolbar Button into the Panel which owns the Toolbar:

\n\n\n
var myGrid = new Ext.grid.EditorGridPanel({\n    title: 'My EditorGridPanel',\n    store: myStore,\n    colModel: myColModel,\n    tbar: [{\n        text: 'Save',\n        handler: saveChanges,\n        disabled: true,\n        ref: '../saveButton'\n    }],\n    listeners: {\n        afteredit: function() {\n//          The button reference is in the GridPanel\n            myGrid.saveButton.enable();\n        }\n    }\n});\n
\n\n\n

In the code above, if the ref had been 'saveButton'\nthe reference would have been placed into the Toolbar. Each '/' in the ref\nmoves up one level from the Component's ownerCt.

\n\n\n

Also see the added and removed events.

\n\n
Specify the id of the element, a DOM element or an existing Element that this component\nwill be rendered into. ...

Specify the id of the element, a DOM element or an existing Element that this component\nwill be rendered into.

\n\n\n
    \n
  • Notes :
      \n
      Do not use this option if the Component is to be a child item of\na Container. It is the responsibility of the\nContainer's layout manager\nto render and manage its child items.
      \n
      When using this config, a call to render() is not required.
      \n
  • \n
\n\n\n

See render also.

\n\n
Ext.menu.BaseItem
view source
scope : Object

The scope (this reference) in which the handler function will be called.

\n

The scope (this reference) in which the handler function will be called.

\n
An array of events that, when fired, should trigger this component to\nsave its state (defaults to none). ...

An array of events that, when fired, should trigger this component to\nsave its state (defaults to none). stateEvents may be any type\nof event supported by this component, including browser or custom events\n(e.g., ['click', 'customerchange']).

\n\n\n

See stateful for an explanation of saving and\nrestoring Component state.

\n\n
The unique id for this component to use for state management purposes\n(defaults to the component id if one was set, o...

The unique id for this component to use for state management purposes\n(defaults to the component id if one was set, otherwise null if the\ncomponent is using a generated id).

\n\n

See stateful for an explanation of saving and\nrestoring Component state.

\n\n
A flag which causes the Component to attempt to restore the state of\ninternal properties from a saved state on startup. ...

A flag which causes the Component to attempt to restore the state of\ninternal properties from a saved state on startup. The component must have\neither a stateId or id assigned\nfor state to be managed. Auto-generated ids are not guaranteed to be stable\nacross page loads and cannot be relied upon to save and restore the same\nstate for a component.

\n

For state saving to work, the state manager's provider must have been\nset to an implementation of Ext.state.Provider which overrides the\nset and get\nmethods to save and recall name/value pairs. A built-in implementation,\nExt.state.CookieProvider is available.

\n

To set the state provider for the current page:

\n
Ext.state.Manager.setProvider(new Ext.state.CookieProvider({\n    expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now\n}));\n
\n

A stateful Component attempts to save state when one of the events\nlisted in the stateEvents configuration fires.

\n

To save state, a stateful Component first serializes its state by\ncalling getState. By default, this function does\nnothing. The developer must provide an implementation which returns an\nobject hash which represents the Component's restorable state.

\n

The value yielded by getState is passed to Ext.state.Manager.set\nwhich uses the configured Ext.state.Provider to save the object\nkeyed by the Component's stateId, or, if that is not\nspecified, its id.

\n

During construction, a stateful Component attempts to restore\nits state by calling Ext.state.Manager.get passing the\nstateId, or, if that is not specified, the\nid.

\n

The resulting object is passed to applyState.\nThe default implementation of applyState simply copies\nproperties into the object, but a developer may override this to support\nmore behaviour.

\n

You can perform extra processing on state save and restore by attaching\nhandlers to the beforestaterestore, staterestore,\nbeforestatesave and statesave events.

\n\n

A custom style specification to be applied to this component's Element. ...

A custom style specification to be applied to this component's Element. Should be a valid argument to\nExt.Element.applyStyles.

\n\n
new Ext.Panel({\n    title: 'Some Title',\n    renderTo: Ext.getBody(),\n    width: 400, height: 300,\n    layout: 'form',\n    items: [{\n        xtype: 'textarea',\n        style: {\n            width: '95%',\n            marginBottom: '10px'\n        }\n    },\n        new Ext.Button({\n            text: 'Send',\n            minWidth: '100',\n            style: {\n                marginBottom: '10px'\n            }\n        })\n    ]\n});\n
\n\n
An Ext.Template, Ext.XTemplate\nor an array of strings to form an Ext.XTemplate. ...

An Ext.Template, Ext.XTemplate\nor an array of strings to form an Ext.XTemplate.\nUsed in conjunction with the data and\ntplWriteMode configurations.

\n
The Ext.(X)Template method to use when\nupdating the content area of the Component. ...

The Ext.(X)Template method to use when\nupdating the content area of the Component. Defaults to 'overwrite'\n(see Ext.XTemplate.overwrite).

\n

Defaults to: 'overwrite'

The registered xtype to create. ...

The registered xtype to create. This config option is not used when passing\na config object into a constructor. This config option is used only when\nlazy instantiation is being used, and a child item of a Container is being\nspecified not as a fully instantiated Component, but as a Component config\nobject. The xtype will be looked up at render time up to determine what\ntype of child Component to create.

\nThe predefined xtypes are listed here.

\n\n

\n\n\n

If you subclass Components to create your own Components, you may register\nthem using Ext.ComponentMgr.registerType in order to be able to\ntake advantage of lazy instantiation and rendering.

\n
Defined By

Properties

Ext.menu.BaseItem
view source
: Stringprivate
private ...

private

\n

Defaults to: "container"

Ext.menu.BaseItem
view source
: Stringprivate
private ...

private

\n

Defaults to: "Ext.menu.BaseItem"

True if this component is disabled. ...

True if this component is disabled. Read-only.

\n
The Ext.Element which encapsulates this Component. ...

The Ext.Element which encapsulates this Component. Read-only.

\n\n\n

This will usually be a <DIV> element created by the class's onRender method, but\nthat may be overridden using the autoEl config.

\n\n\n

Note: this element will not be available until this Component has been rendered.


\n\n\n

To add listeners for DOM events to this Component (as opposed to listeners\nfor this Component's own Observable events), see the listeners\nconfig for a suggestion, or use a render listener directly:

\n\n\n
new Ext.Panel({\n    title: 'The Clickable Panel',\n    listeners: {\n        render: function(p) {\n            // Append the Panel to the click handler's argument list.\n            p.getEl().on('click', handlePanelClick.createDelegate(null, [p], true));\n        },\n        single: true  // Remove the listener after first invocation\n    }\n});\n
\n\n\n

See also getEl

\n\n
True if this component is hidden. ...

True if this component is hidden. Read-only.

\n
This Component's initial configuration specification. ...

This Component's initial configuration specification. Read-only.

\n
This Component's owner Container (defaults to undefined, and is set automatically when\nthis Component is added to a C...

This Component's owner Container (defaults to undefined, and is set automatically when\nthis Component is added to a Container). Read-only.

\n\n

Note: to access items within the Container see itemId.

\n\n

The parent Menu of this Item.

\n

The parent Menu of this Item.

\n
The ancestor Container into which the ref reference was inserted if this Component\nis a child of a Container, and has...

The ancestor Container into which the ref reference was inserted if this Component\nis a child of a Container, and has been configured with a ref.

\n
True if this component has been rendered. ...

True if this component has been rendered. Read-only.

\n

Defaults to: false

Defined By

Methods

Ext.menu.BaseItem
view source
new( config ) : Ext.menu.BaseItem
Creates a new BaseItem ...

Creates a new BaseItem

\n

Parameters

  • config : Object

    Configuration options

    \n

Returns

Overrides: Ext.Component.constructor

Ext.menu.BaseItem
view source
( )private
private ...

private

\n
Adds a CSS class to the component's underlying element. ...

Adds a CSS class to the component's underlying element.

\n

Parameters

  • cls : string

    The CSS class name to add

    \n

Returns

Adds the specified events to the list of events which this Observable may fire. ...

Adds the specified events to the list of events which this Observable may fire.

\n

Parameters

  • o : Object|String

    Either an object with event names as properties with a value of true\nor the first event name string if multiple event names are being passed as separate parameters.

    \n
  • Optional : string

    . Event name if multiple event names are being passed as separate parameters.\nUsage:

    \n\n
    this.addEvents('storeloaded', 'storecleared');\n
    \n\n
( eventName, handler, [scope], [options] )
Appends an event handler to this object. ...

Appends an event handler to this object.

\n

Parameters

  • eventName : String

    The name of the event to listen for.

    \n
  • handler : Function

    The method the event invokes.

    \n
  • scope : Object (optional)

    The scope (this reference) in which the handler function is executed.\nIf omitted, defaults to the object which fired the event.

    \n
  • options : Object (optional)

    An object containing handler configuration.\nproperties. This may contain any of the following properties:

      \n
    • scope : Object
      The scope (this reference) in which the handler function is executed.\nIf omitted, defaults to the object which fired the event.
    • \n
    • delay : Number
      The number of milliseconds to delay the invocation of the handler after the event fires.
    • \n
    • single : Boolean
      True to add a handler to handle just the next firing of the event, and then remove itself.
    • \n
    • buffer : Number
      Causes the handler to be scheduled to run in an Ext.util.DelayedTask delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is not invoked, but the new handler is scheduled in its place.
    • \n
    • target : Observable
      Only call the handler if the event was fired on the target Observable, not\nif the event was bubbled up from a child Observable.
    • \n

    \n\n

    \nCombining Options
    \nUsing the options argument, it is possible to combine different types of listeners:
    \n
    \nA delayed, one-time listener.\n

    myDataView.on('click', this.onClick, this, {\nsingle: true,\ndelay: 100\n});
    \n

    \nAttaching multiple handlers in 1 call
    \nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n

    \n

    myGridPanel.on({\n'click' : {\n    fn: this.onClick,\n    scope: this,\n    delay: 100\n},\n'mouseover' : {\n    fn: this.onMouseOver,\n    scope: this\n},\n'mouseout' : {\n    fn: this.onMouseOut,\n    scope: this\n}\n});
    \n

    \nOr a shorthand syntax:
    \n

    myGridPanel.on({\n'click' : this.onClick,\n'mouseover' : this.onMouseOver,\n'mouseout' : this.onMouseOut,\n scope: this\n});
    \n\n

Apply this component to existing markup that is valid. ...

Apply this component to existing markup that is valid. With this function, no call to render() is required.

\n

Parameters

Ext.menu.BaseItem
view source
( )private
...
\n
( fn, [scope], [args] ) : Ext.Componentchainable
Bubbles up the component/container heirarchy, calling the specified function with each component. ...

Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of\nfunction call will be the scope provided or the current component. The arguments to the function\nwill be the args provided or the current component. If the function returns false at any point,\nthe bubble is stopped.

\n

Parameters

  • fn : Function

    The function to call

    \n
  • scope : Object (optional)

    The scope of the function (defaults to current node)

    \n
  • args : Array (optional)

    The args to call the function with (default to passing the current component)

    \n

Returns

Clone the current component using the original config values passed into this instance by default. ...

Clone the current component using the original config values passed into this instance by default.

\n

Parameters

  • overrides : Object

    A new config containing any properties to override in the cloned version.\nAn id property can be passed on this object, otherwise one will be generated to avoid duplicates.

    \n

Returns

Ext.menu.BaseItem
view source
( )private
private ...

private

\n
Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the c...

Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its Ext.Container (if applicable) and unregistering it from\nExt.ComponentMgr. Destruction is generally handled automatically by the framework and this method\nshould usually not need to be called directly.

\n
Disable this component and fire the 'disable' event. ...

Disable this component and fire the 'disable' event.

\n

Parameters

  • silent : Object
    \n

Returns

Enable this component and fire the 'enable' event. ...

Enable this component and fire the 'enable' event.

\n

Returns

Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget() if present. ...

Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget() if present. There is no implementation in the Observable base class.

\n\n\n

This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default\nimplementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to\naccess the required target more quickly.

\n\n\n

Example:

\n\n\n
Ext.override(Ext.form.Field, {\n    //  Add functionality to Field's initComponent to enable the change event to bubble\n    initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {\n        this.enableBubble('change');\n    }),\n\n    //  We know that we want Field's events to bubble directly to the FormPanel.\n    getBubbleTarget : function() {\n        if (!this.formPanel) {\n            this.formPanel = this.findParentByType('form');\n        }\n        return this.formPanel;\n    }\n});\n\nvar myForm = new Ext.formPanel({\n    title: 'User Details',\n    items: [{\n        ...\n    }],\n    listeners: {\n        change: function() {\n            // Title goes red if form has been modified.\n            myForm.header.setStyle('color', 'red');\n        }\n    }\n});\n
\n\n

Parameters

  • events : String/Array

    The event name to bubble, or an Array of event names.

    \n
Ext.menu.BaseItem
view source
( )private
private. ...

private. Do nothing

\n
Find a container above this component at any level by a custom function. ...

Find a container above this component at any level by a custom function. If the passed function returns\ntrue, the container will be returned.

\n

Parameters

  • fn : Function

    The custom function to call with the arguments (container, this component).

    \n

Returns

  • Ext.Container

    The first Container for which the custom function returns true

    \n
Find a container above this component at any level by xtype or class ...

Find a container above this component at any level by xtype or class

\n

Parameters

  • xtype : String/Ext.Component/Class

    The xtype to check for this Component. Note that the the component can either be an instance\nor a component class:

    \n
  • shallow : Boolean (optional)

    False to check whether this Component is descended from the xtype (this is\nthe default), or true to check whether this Component is directly of the specified xtype.

    \n

Returns

  • Ext.Container

    The first Container which matches the given xtype or class

    \n
( eventName, args ) : Boolean
Fires the specified event with the passed parameters (minus the event name). ...

Fires the specified event with the passed parameters (minus the event name).

\n\n\n

An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget)\nby calling enableBubble.

\n\n

Parameters

  • eventName : String

    The name of the event to fire.

    \n
  • args : Object...

    Variable number of parameters are passed to handlers.

    \n

Returns

  • Boolean

    returns false if any of the handlers return false otherwise it returns true.

    \n
( [selectText], [delay] ) : Ext.Componentchainable
Try to focus this component. ...

Try to focus this component.

\n

Parameters

  • selectText : Boolean (optional)

    If applicable, true to also select the text in this component

    \n
  • delay : Boolean/Number (optional)

    Delay the focus this number of milliseconds (true for 10 milliseconds)

    \n

Returns

Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy. ...

Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.

\n

Returns

Returns the Ext.Element which encapsulates this Component. ...

Returns the Ext.Element which encapsulates this Component.

\n\n\n

This will usually be a <DIV> element created by the class's onRender method, but\nthat may be overridden using the autoEl config.

\n\n\n

Note: this element will not be available until this Component has been rendered.


\n\n\n

To add listeners for DOM events to this Component (as opposed to listeners\nfor this Component's own Observable events), see the listeners config for a suggestion,\nor use a render listener directly:

\n\n\n
new Ext.Panel({\n    title: 'The Clickable Panel',\n    listeners: {\n        render: function(p) {\n            // Append the Panel to the click handler's argument list.\n            p.getEl().on('click', handlePanelClick.createDelegate(null, [p], true));\n        },\n        single: true  // Remove the listener after first invocation\n    }\n});\n
\n\n

Returns

  • Ext.Element

    The Element which encapsulates this Component.

    \n
Returns the id of this component or automatically generates and\nreturns an id if an id is not defined yet:\n\n'ext-comp...

Returns the id of this component or automatically generates and\nreturns an id if an id is not defined yet:

\n\n
'ext-comp-' + (++Ext.Component.AUTO_ID)\n
\n\n

Returns

Returns the itemId of this component. ...

Returns the itemId of this component. If an\nitemId was not assigned through configuration the\nid is returned using getId.

\n

Returns

Gets the xtype for this component as registered with Ext.ComponentMgr. ...

Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all\navailable xtypes, see the Ext.Component header. Example usage:

\n\n
var t = new Ext.form.TextField();\nalert(t.getXType());  // alerts 'textfield'\n
\n\n

Returns

Returns this Component's xtype hierarchy as a slash-delimited string. ...

Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all\navailable xtypes, see the Ext.Component header.

\n\n\n

If using your own subclasses, be aware that a Component must register its own xtype\nto participate in determination of inherited xtypes.

\n\n\n

Example usage:

\n\n\n
var t = new Ext.form.TextField();\nalert(t.getXTypes());  // alerts 'component/box/field/textfield'\n
\n\n

Returns

  • String

    The xtype hierarchy string

    \n
Ext.menu.BaseItem
view source
( e )private
private ...

private

\n

Parameters

  • e : Object
    \n
Checks to see if this object has any listeners for a specified event ...

Checks to see if this object has any listeners for a specified event

\n

Parameters

  • eventName : String

    The name of the event to check for

    \n

Returns

  • Boolean

    True if the event is being listened for, else false

    \n
Hide this component. ...

Hide this component. Listen to the 'beforehide' event and return\nfalse to cancel hiding the component. Fires the 'hide'\nevent after hiding the component. Note this method is called internally if\nthe component is configured to be hidden.

\n

Returns

Ext.menu.BaseItem
view source
( )private
private. ...

private. Do nothing

\n
Ext.menu.BaseItem
view source
( )private
...
\n
Method to establish a reference to a component. ...

Method to establish a reference to a component.

\n
Returns true if this component is visible. ...

Returns true if this component is visible.

\n

Returns

  • Boolean

    True if this component is visible, false otherwise.

    \n
( xtype, [shallow] ) : Boolean
Tests whether or not this Component is of a specific xtype. ...

Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended\nfrom the xtype (default) or whether it is directly of the xtype specified (shallow = true).

\n\n\n

If using your own subclasses, be aware that a Component must register its own xtype\nto participate in determination of inherited xtypes.

\n\n\n

For a list of all available xtypes, see the Ext.Component header.

\n\n\n

Example usage:

\n\n\n
var t = new Ext.form.TextField();\nvar isText = t.isXType('textfield');        // true\nvar isBoxSubclass = t.isXType('box');       // true, descended from BoxComponent\nvar isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instance\n
\n\n

Parameters

  • xtype : String/Ext.Component/Class

    The xtype to check for this Component. Note that the the component can either be an instance\nor a component class:

    \n\n
    var c = new Ext.Component();\nconsole.log(c.isXType(c));\nconsole.log(c.isXType(Ext.Component));\n
    \n\n
  • shallow : Boolean (optional)

    False to check whether this Component is descended from the xtype (this is\nthe default), or true to check whether this Component is directly of the specified xtype.

    \n

Returns

  • Boolean

    True if this component descends from the specified xtype, false otherwise.

    \n
( item, ename, fn, scope, opt )
Adds listeners to any Observable object (or Elements) which are automatically removed when this Component\nis destroyed. ...

Adds listeners to any Observable object (or Elements) which are automatically removed when this Component\nis destroyed. Usage:

\n\n\n

\n\n
myGridPanel.mon(myGridPanel.getSelectionModel(), 'selectionchange', handleSelectionChange, null, {buffer: 50});\n
\n\n\n

\n\n

or:

\n\n\n

\n\n
myGridPanel.mon(myGridPanel.getSelectionModel(), {\n    selectionchange: handleSelectionChange,\n    buffer: 50\n});\n
\n\n\n

\n

Parameters

  • item : Observable|Element

    The item to which to add a listener/listeners.

    \n
  • ename : Object|String

    The event name, or an object containing event name properties.

    \n
  • fn : Function

    Optional. If the ename parameter was an event name, this\nis the handler function.

    \n
  • scope : Object

    Optional. If the ename parameter was an event name, this\nis the scope (this reference) in which the handler function is executed.

    \n
  • opt : Object

    Optional. If the ename parameter was an event name, this\nis the addListener options.

    \n
( item, ename, fn, scope )
Removes listeners that were added by the mon method. ...

Removes listeners that were added by the mon method.

\n

Parameters

  • item : Observable|Element

    The item from which to remove a listener/listeners.

    \n
  • ename : Object|String

    The event name, or an object containing event name properties.

    \n
  • fn : Function

    Optional. If the ename parameter was an event name, this\nis the handler function.

    \n
  • scope : Object

    Optional. If the ename parameter was an event name, this\nis the scope (this reference) in which the handler function is executed.

    \n
Returns the next component in the owning container ...

Returns the next component in the owning container

\n

Returns

( eventName, handler, [scope], [options] )
Appends an event handler to this object (shorthand for addListener.) ...

Appends an event handler to this object (shorthand for addListener.)

\n

Parameters

  • eventName : String

    The type of event to listen for

    \n
  • handler : Function

    The method the event invokes

    \n
  • scope : Object (optional)

    The scope (this reference) in which the handler function is executed.\nIf omitted, defaults to the object which fired the event.

    \n
  • options : Object (optional)

    An object containing handler configuration.

    \n
( container, pos )private
Method to manage awareness of when components are added to their\nrespective Container, firing an added event. ...

Method to manage awareness of when components are added to their\nrespective Container, firing an added event.\nReferences are established at add time rather than at render time.

\n

Parameters

  • container : Ext.Container

    Container which holds the component

    \n
  • pos : number

    Position at which the component was added

    \n
Ext.menu.BaseItem
view source
( e )private
private ...

private

\n

Parameters

  • e : Object
    \n
Method to manage awareness of when components are removed from their\nrespective Container, firing an removed event. ...

Method to manage awareness of when components are removed from their\nrespective Container, firing an removed event. References are properly\ncleaned up after removing a component from its owning container.

\n
Ext.menu.BaseItem
view source
( container, position )private
private ...

private

\n

Parameters

  • container : Object
    \n
  • position : Object
    \n
Returns the previous component in the owning container ...

Returns the previous component in the owning container

\n

Returns

Removes all listeners for this object ...

Removes all listeners for this object

\n
Relays selected events from the specified Observable as if the events were fired by this. ...

Relays selected events from the specified Observable as if the events were fired by this.

\n

Parameters

  • o : Object

    The Observable whose events this object is to relay.

    \n
  • events : Array

    Array of event names to relay.

    \n
Removes a CSS class from the component's underlying element. ...

Removes a CSS class from the component's underlying element.

\n

Parameters

  • cls : string

    The CSS class name to remove

    \n

Returns

( eventName, handler, [scope] )
Removes an event handler. ...

Removes an event handler.

\n

Parameters

  • eventName : String

    The type of event the handler was associated with.

    \n
  • handler : Function

    The handler to remove. This must be a reference to the function passed into the addListener call.

    \n
  • scope : Object (optional)

    The scope originally specified for the handler.

    \n
( [container], [position] ) : Ext.Componentchainable
Render this Component into the passed HTML element. ...

Render this Component into the passed HTML element.

\n\n\n

If you are using a Container object to house this Component, then\ndo not use the render method.

\n\n\n

A Container's child Components are rendered by that Container's\nlayout manager when the Container is first rendered.

\n\n\n

Certain layout managers allow dynamic addition of child components. Those that do\ninclude Ext.layout.CardLayout, Ext.layout.AnchorLayout,\nExt.layout.FormLayout, Ext.layout.TableLayout.

\n\n\n

If the Container is already rendered when a new child Component is added, you may need to call\nthe Container's doLayout to refresh the view which causes any\nunrendered child Components to be rendered. This is required so that you can add multiple\nchild components if needed while only refreshing the layout once.

\n\n\n

When creating complex UIs, it is important to remember that sizing and positioning\nof child items is the responsibility of the Container's layout manager.\nIf you expect child items to be sized in response to user interactions, you must\nconfigure the Container with a layout manager which creates and manages the type of layout you\nhave in mind.

\n\n\n

Omitting the Container's layout config means that a basic\nlayout manager is used which does nothing but render child components sequentially into the\nContainer. No sizing or positioning will be performed in this situation.

\n\n

Parameters

  • container : Element/HTMLElement/String (optional)

    The element this Component should be\nrendered into. If it is being created from existing markup, this should be omitted.

    \n
  • position : String/Number (optional)

    The element ID or DOM node index within the container before\nwhich this component will be inserted (defaults to appending to the end of the container)

    \n

Returns

Resume firing events. ...

Resume firing events. (see suspendEvents)\nIf events were suspended using the queueSuspended parameter, then all\nevents fired during event suspension will be sent to any listeners now.

\n
Convenience function for setting disabled/enabled by boolean. ...

Convenience function for setting disabled/enabled by boolean.

\n

Parameters

  • disabled : Boolean
    \n

Returns

Ext.menu.BaseItem
view source
( handler, scope )
Sets the function that will handle click events for this item (equivalent to passing in the handler\nconfig property). ...

Sets the function that will handle click events for this item (equivalent to passing in the handler\nconfig property). If an existing handler is already registered, it will be unregistered for you.

\n

Parameters

  • handler : Function

    The function that should be called on click

    \n
  • scope : Object

    The scope (this reference) in which the handler function is executed. Defaults to this menu item.

    \n
Convenience function to hide or show this component by boolean. ...

Convenience function to hide or show this component by boolean.

\n

Parameters

  • visible : Boolean

    True to show, false to hide

    \n

Returns

Ext.menu.BaseItem
view source
( e )private
private ...

private

\n

Parameters

  • e : Object
    \n
Show this component. ...

Show this component. Listen to the 'beforeshow' event and return\nfalse to cancel showing the component. Fires the 'show'\nevent after showing the component.

\n

Returns

Suspend the firing of all events. ...

Suspend the firing of all events. (see resumeEvents)

\n

Parameters

  • queueSuspended : Boolean

    Pass as true to queue up suspended events to be fired\nafter the resumeEvents call instead of discarding all suspended events;

    \n
( eventName, handler, [scope] )
Removes an event handler (shorthand for removeListener.) ...

Removes an event handler (shorthand for removeListener.)

\n

Parameters

  • eventName : String

    The type of event the handler was associated with.

    \n
  • handler : Function

    The handler to remove. This must be a reference to the function passed into the addListener call.

    \n
  • scope : Object (optional)

    The scope originally specified for the handler.

    \n
( htmlOrData, loadScripts, callback )
Update the content area of a component. ...

Update the content area of a component.

\n

Parameters

  • htmlOrData : Mixed

    If this component has been configured with a template via the tpl config\nthen it will use this argument as data to populate the template.\nIf this component was not configured with a template, the components\ncontent area will be updated via Ext.Element update

    \n
  • loadScripts : Boolean

    (optional) Only legitimate when using the html configuration. Defaults to false

    \n
  • callback : Function

    (optional) Only legitimate when using the html configuration. Callback to execute when scripts have finished loading

    \n
Defined By

Events

Ext.menu.BaseItem
view source
( this )
Fires when this item is activated ...

Fires when this item is activated

\n

Parameters

( this, ownerCt, index )
Fires when a component is added to an Ext.Container ...

Fires when a component is added to an Ext.Container

\n

Parameters

Fires after the component rendering is finished. ...

Fires after the component rendering is finished.

\n\n\n

The afterrender event is fired after this Component has been rendered, been postprocesed\nby any afterRender method defined for the Component, and, if stateful, after state\nhas been restored.

\n\n

Parameters

Fires before the component is destroyed. ...

Fires before the component is destroyed. Return false from an event handler to stop the destroy.

\n

Parameters

Fires before the component is hidden by calling the hide method. ...

Fires before the component is hidden by calling the hide method.\nReturn false from an event handler to stop the hide.

\n

Parameters

Fires before the component is rendered. ...

Fires before the component is rendered. Return false from an\nevent handler to stop the render.

\n

Parameters

Fires before the component is shown by calling the show method. ...

Fires before the component is shown by calling the show method.\nReturn false from an event handler to stop the show.

\n

Parameters

Fires before the state of the component is restored. ...

Fires before the state of the component is restored. Return false from an event handler to stop the restore.

\n

Parameters

  • this : Ext.Component
    \n
  • state : Object

    The hash of state values returned from the StateProvider. If this\nevent is not vetoed, then the state object is passed to applyState. By default,\nthat simply copies property values into this Component. The method maybe overriden to\nprovide custom state restoration.

    \n
Fires before the state of the component is saved to the configured state provider. ...

Fires before the state of the component is saved to the configured state provider. Return false to stop the save.

\n

Parameters

  • this : Ext.Component
    \n
  • state : Object

    The hash of state values. This is determined by calling\ngetState() on the Component. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.Component\nhas a null implementation.

    \n
Ext.menu.BaseItem
view source
( this, e )
Fires when this item is clicked ...

Fires when this item is clicked

\n

Parameters

Ext.menu.BaseItem
view source
( this )
Fires when this item is deactivated ...

Fires when this item is deactivated

\n

Parameters

Fires after the component is destroyed. ...

Fires after the component is destroyed.

\n

Parameters

Fires after the component is disabled. ...

Fires after the component is disabled.

\n

Parameters

Fires after the component is enabled. ...

Fires after the component is enabled.

\n

Parameters

Fires after the component is hidden. ...

Fires after the component is hidden.\nFires after the component is hidden when calling the hide method.

\n

Parameters

Fires when a component is removed from an Ext.Container ...

Fires when a component is removed from an Ext.Container

\n

Parameters

Fires after the component markup is rendered. ...

Fires after the component markup is rendered.

\n

Parameters

Fires after the component is shown when calling the show method. ...

Fires after the component is shown when calling the show method.

\n

Parameters

Fires after the state of the component is restored. ...

Fires after the state of the component is restored.

\n

Parameters

  • this : Ext.Component
    \n
  • state : Object

    The hash of state values returned from the StateProvider. This is passed\nto applyState. By default, that simply copies property values into this\nComponent. The method maybe overriden to provide custom state restoration.

    \n
Fires after the state of the component is saved to the configured state provider. ...

Fires after the state of the component is saved to the configured state provider.

\n

Parameters

  • this : Ext.Component
    \n
  • state : Object

    The hash of state values. This is determined by calling\ngetState() on the Component. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.Component\nhas a null implementation.

    \n
","superclasses":["Ext.util.Observable","Ext.Component"],"meta":{},"requires":[],"html_meta":{},"statics":{"property":[],"cfg":[],"css_var":[],"method":[],"event":[],"css_mixin":[]},"files":[{"href":"BaseItem.html#Ext-menu-BaseItem","filename":"BaseItem.js"}],"linenr":1,"members":{"property":[{"tagname":"property","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"actionMode","id":"property-actionMode"},{"tagname":"property","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"ctype","id":"property-ctype"},{"tagname":"property","owner":"Ext.Component","meta":{},"name":"disabled","id":"property-disabled"},{"tagname":"property","owner":"Ext.Component","meta":{},"name":"el","id":"property-el"},{"tagname":"property","owner":"Ext.Component","meta":{},"name":"hidden","id":"property-hidden"},{"tagname":"property","owner":"Ext.Component","meta":{},"name":"initialConfig","id":"property-initialConfig"},{"tagname":"property","owner":"Ext.Component","meta":{},"name":"ownerCt","id":"property-ownerCt"},{"tagname":"property","owner":"Ext.menu.BaseItem","meta":{},"name":"parentMenu","id":"property-parentMenu"},{"tagname":"property","owner":"Ext.Component","meta":{},"name":"refOwner","id":"property-refOwner"},{"tagname":"property","owner":"Ext.Component","meta":{},"name":"rendered","id":"property-rendered"}],"cfg":[{"tagname":"cfg","owner":"Ext.menu.BaseItem","meta":{},"name":"activeClass","id":"cfg-activeClass"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"allowDomMove","id":"cfg-allowDomMove"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"applyTo","id":"cfg-applyTo"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"autoEl","id":"cfg-autoEl"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"autoShow","id":"cfg-autoShow"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"bubbleEvents","id":"cfg-bubbleEvents"},{"tagname":"cfg","owner":"Ext.menu.BaseItem","meta":{},"name":"canActivate","id":"cfg-canActivate"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"clearCls","id":"cfg-clearCls"},{"tagname":"cfg","owner":"Ext.menu.BaseItem","meta":{},"name":"clickHideDelay","id":"cfg-clickHideDelay"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"cls","id":"cfg-cls"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"contentEl","id":"cfg-contentEl"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"ctCls","id":"cfg-ctCls"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"data","id":"cfg-data"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"disabled","id":"cfg-disabled"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"disabledClass","id":"cfg-disabledClass"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"fieldLabel","id":"cfg-fieldLabel"},{"tagname":"cfg","owner":"Ext.menu.BaseItem","meta":{},"name":"handler","id":"cfg-handler"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"hidden","id":"cfg-hidden"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"hideLabel","id":"cfg-hideLabel"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"hideMode","id":"cfg-hideMode"},{"tagname":"cfg","owner":"Ext.menu.BaseItem","meta":{},"name":"hideOnClick","id":"cfg-hideOnClick"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"hideParent","id":"cfg-hideParent"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"html","id":"cfg-html"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"id","id":"cfg-id"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"itemCls","id":"cfg-itemCls"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"itemId","id":"cfg-itemId"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"labelSeparator","id":"cfg-labelSeparator"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"labelStyle","id":"cfg-labelStyle"},{"tagname":"cfg","owner":"Ext.util.Observable","meta":{},"name":"listeners","id":"cfg-listeners"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"overCls","id":"cfg-overCls"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"plugins","id":"cfg-plugins"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"ptype","id":"cfg-ptype"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"ref","id":"cfg-ref"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"renderTo","id":"cfg-renderTo"},{"tagname":"cfg","owner":"Ext.menu.BaseItem","meta":{},"name":"scope","id":"cfg-scope"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"stateEvents","id":"cfg-stateEvents"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"stateId","id":"cfg-stateId"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"stateful","id":"cfg-stateful"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"style","id":"cfg-style"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"tpl","id":"cfg-tpl"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"tplWriteMode","id":"cfg-tplWriteMode"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"xtype","id":"cfg-xtype"}],"css_var":[],"method":[{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{},"name":"constructor","id":"method-constructor"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"activate","id":"method-activate"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"addClass","id":"method-addClass"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"addEvents","id":"method-addEvents"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"addListener","id":"method-addListener"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"applyToMarkup","id":"method-applyToMarkup"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"beforeDestroy","id":"method-beforeDestroy"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"bubble","id":"method-bubble"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"cloneConfig","id":"method-cloneConfig"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"deactivate","id":"method-deactivate"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"destroy","id":"method-destroy"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"disable","id":"method-disable"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"enable","id":"method-enable"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"enableBubble","id":"method-enableBubble"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"expandMenu","id":"method-expandMenu"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"findParentBy","id":"method-findParentBy"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"findParentByType","id":"method-findParentByType"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"fireEvent","id":"method-fireEvent"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"focus","id":"method-focus"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"getBubbleTarget","id":"method-getBubbleTarget"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"getEl","id":"method-getEl"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"getId","id":"method-getId"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"getItemId","id":"method-getItemId"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"getXType","id":"method-getXType"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"getXTypes","id":"method-getXTypes"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"handleClick","id":"method-handleClick"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"hasListener","id":"method-hasListener"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"hide","id":"method-hide"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"hideMenu","id":"method-hideMenu"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"initComponent","id":"method-initComponent"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"initRef","id":"method-initRef"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"isVisible","id":"method-isVisible"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"isXType","id":"method-isXType"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"mon","id":"method-mon"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"mun","id":"method-mun"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"nextSibling","id":"method-nextSibling"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"on","id":"method-on"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"onAdded","id":"method-onAdded"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"onClick","id":"method-onClick"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"onRemoved","id":"method-onRemoved"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"onRender","id":"method-onRender"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"previousSibling","id":"method-previousSibling"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"purgeListeners","id":"method-purgeListeners"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"relayEvents","id":"method-relayEvents"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"removeClass","id":"method-removeClass"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"removeListener","id":"method-removeListener"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"render","id":"method-render"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"resumeEvents","id":"method-resumeEvents"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"setDisabled","id":"method-setDisabled"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{},"name":"setHandler","id":"method-setHandler"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"setVisible","id":"method-setVisible"},{"tagname":"method","owner":"Ext.menu.BaseItem","meta":{"private":true},"name":"shouldDeactivate","id":"method-shouldDeactivate"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"show","id":"method-show"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"suspendEvents","id":"method-suspendEvents"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"un","id":"method-un"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"update","id":"method-update"}],"event":[{"tagname":"event","owner":"Ext.menu.BaseItem","meta":{},"name":"activate","id":"event-activate"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"added","id":"event-added"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"afterrender","id":"event-afterrender"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"beforedestroy","id":"event-beforedestroy"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"beforehide","id":"event-beforehide"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"beforerender","id":"event-beforerender"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"beforeshow","id":"event-beforeshow"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"beforestaterestore","id":"event-beforestaterestore"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"beforestatesave","id":"event-beforestatesave"},{"tagname":"event","owner":"Ext.menu.BaseItem","meta":{},"name":"click","id":"event-click"},{"tagname":"event","owner":"Ext.menu.BaseItem","meta":{},"name":"deactivate","id":"event-deactivate"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"destroy","id":"event-destroy"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"disable","id":"event-disable"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"enable","id":"event-enable"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"hide","id":"event-hide"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"removed","id":"event-removed"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"render","id":"event-render"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"show","id":"event-show"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"staterestore","id":"event-staterestore"},{"tagname":"event","owner":"Ext.Component","meta":{},"name":"statesave","id":"event-statesave"}],"css_mixin":[]},"inheritable":null,"private":null,"component":true,"name":"Ext.menu.BaseItem","singleton":false,"override":null,"inheritdoc":null,"id":"class-Ext.menu.BaseItem","mixins":[],"mixedInto":[]});