The Menu object also contains an attribute called items whose value can be one or more MenuItem objects. Menu对象还包含一个名为items的属性,该属性的值可以是一个或多个MenuItem对象。
The text attribute defines the name of the MenuItem, and the action attribute contains an operation that determines the item's behavior. text属性定义MenuItem的名称,action属性包含一个决定菜单项行为的操作。
To do that, you first need to have an event handling method in the ManageCustomer controller for an "add" menuitem onClick event. 要完成这些,首先要在ManageCustomer控制器中有“add”菜单项的onClick事件的事件处理方法。
MenuItems can have quick keys, such as Ctrl-X to exit the application. MenuItem可能有快捷键,比如Ctrl-X用于退出应用程序。
Application of OTA Technology in Mobile Phone Card MenuItem Update OTA技术在手机卡菜单更新中的应用研究