Properties Methods Events Config Options Direct Link
Observable
  Component
    BaseItem
      Adapter

Class Ext.menu.Adapter

Package:Ext.menu
Defined In:Adapter.js
Class:Adapter
Subclasses:ColorItem, DateItem
Extends:BaseItem
* A base utility class that adapts a non-menu component so that it can be wrapped by a menu item and added to a menu. It provides basic rendering, activation management and enable/disable logic required to work in menus.

Config Options

Config Options Defined By
  activeClass : String
The CSS class to use when the item becomes activated (defaults to "x-menu-item-active")
BaseItem
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  canActivate : Boolean
True if this item can be visually activated (defaults to false)
BaseItem
  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
  handler : Function
A function that will handle the click event of this menu item (defaults to undefined)
BaseItem
  hidden : Boolean
Render this component hidden (default is false).
Component
  hideDelay : Number
Length of time in milliseconds to wait before hiding after a click (defaults to 100)
BaseItem
  hideOnClick : Boolean
True to hide the containing menu after this item is clicked (defaults to true)
BaseItem
  scope : Object
The scope in which the handler function will be called.
BaseItem

Public Properties

Property Defined 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
  parentMenu : Ext.menu.Menu
The parent Menu of this Item.
BaseItem
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By