打印版式

Class Ext.menu.MenuMgr

Package:Ext.menu
Class:MenuMgr
Extends:Object
Defined In:MenuMgr.js
Provides a common registry of all menu items on a page so that they can be easily accessed by id.

This class is a singleton and cannot be created directly.

属性   -  方法   -  事件

公共属性

此类没有公共属性。

公共方法

方法 定义对象
  get(String/Object menu) : void MenuMgr
Returns a Ext.menu.Menu object
  hideAll() : void MenuMgr
Hides all menus that are currently visible

公共事件

此类没有公共事件。

方法详情

get

public function get(String/Object menu)
Returns a Ext.menu.Menu object
参数:
  • menu : String/Object
    The string menu id, an existing menu object reference, or a Menu config that will be used to generate and return a new Menu instance.
返回:
  • void
This method is defined by MenuMgr.

hideAll

public function hideAll()
Hides all menus that are currently visible
参数:
  • 无。
返回:
  • void
This method is defined by MenuMgr.

Ext - Copyright © 2006-2007 Ext JS, LLC
All rights reserved.