我们储存在每个菜单项对象中的数据是一个仅包含一个元素的数组:类别名。
The data we store in each menu item object is an array containing only one element: the name of the category.
第二行代码从事件获取菜单数据对象。
The second line retrieves the menu data object from the event.
在主工具箱上有一个对象类型菜单。
正如您可以看到的,这一操作产生了一个子菜单,其中有查看有关卷的细节、删除存储对象上的卷或破坏卷等选项。
As you can see, this brings up a sub-menu where I have the option of viewing details about the volume, removing the volume from the storage object, or destroying the volume.
它的值是一个小部件对象,它定义了窗口中在标题和菜单栏以下显示的内容。
Its value is a widget object that defines the content to be displayed within the window below the title and menu bars.
我们来看一个简单的例子:餐馆的菜单,体会一下如何处理数据图中的数据对象。
Let's look at a simple example to figure out how you can deal with Data Objects of a graph: a restaurant's menu.
添加菜单项的样例代码引用了一个 “LLSD”类型的对象。
The example code for adding a menu item refers to an object of type "LLSD".
该方法负责显示所选对象的设计器的上下文菜单。
This method is responsible for showing the context menu for the selected object's designer.
在这种环境中,LLSD对象用来传递定义菜单项的XML文件中所指定的任何其他数据。
In context, an LLSD object is used to pass in any additional data specified in the XML file defining a menu item.
在这种情况下,创建菜单条目对象并不重要。
The creation of the menu items objects themselves is not important in this context.
第一个参数是保存菜单的对象;第二个参数是菜单对象的名字,它是从XML中获得的。
The first argument is the object that holds the menu; the second argument is the menu object's name, taken from the XML.
或者,单击在视图菜单上的对象资源管理器详细信息。
出于本书的需要,菜单条目是一个具有标题和UR l属性(描述单击时菜单条目的去向)的对象。
For the purposes of this article, a menu item is an object that has a caption and a URL attribute that describes where the menu item should go when clicked.
但是,reflection主窗口、工具栏和菜单仍旧是标准的Windows对象。
However, the main Reflection window, toolbar, and menus are still standard Windows objects.
Snippets是源代码示例的混合体,例如,把菜单项添加到多个视图以及对象中的简短示例代码,以便扩展多方聊天的参与者列表以及其他功能。
Snippets is a grab bag of source code examples, for instance, short examples that add menu items to different views and objects, that extend the n-way chat participants list, and so on.
如果尚未打开设计器,可使用在视图对象上可用的上下文菜单选项openDefinition以更改模式打开它。
If the designer is not already open, you can open it in the alter mode using the context menu option open Definition available on the view object.
如果尚未打开设计器,可使用在表对象上可用的上下文菜单选项openDefinition以更改模式打开它。
If the designer is not already open, you can open it in the alter mode using the context menu option open Definition, available on the table object.
如果尚未打开设计器,可使用在存储过程对象上可用的上下文菜单选项openDefinition以更改模式打开它。
If the designer is not already open, you can open it in the alter mode using the context menu option open Definition, available on the stored procedure object.
另外,您也可以将EmitCustomerWrapperInput拖到画布上,然后使用菜单选择嵌套的业务对象和属性。
Alternatively, you can drag EmitCustomerWrapperInput onto the canvas and use the menu to select the nested business objects and attributes.
初始化显示和shell后,可以添加任意数目的现有对象,如菜单栏、表、按钮、网格等。
After you have the display and shell initialized, you can add any number of existing objects such as menu bars, tables, buttons, grids, and so on.
Table包含和要显示的菜单项个数相同的行,每一行有一个单元格,每个单元格里放一个LinkButton对象。
The table contains as many rows as there are menu items to display. Each row has a single cell filled with a LinkButton object.
要使用快捷菜单,你需要使用menuitem对象填充ContextMenuItems集合,调整一些可视化样式,至少添加一个控件到BoundControls集合中。
For the context menu to work, you need to fill the ContextMenuItems collection with menu item objects, adjust some visual styles, and add at least one control to the BoundControls collection.
在ComponentLibrary列表中创建标题HTML组件对象,引用以前创建的图像和世界时钟菜单组件。
Create header HTML component objects in the component Library list referencing the previously created images and the world clock menu component.
Menu对象有一个text属性,该属性的值是一个 String,表示要显示的菜单的标题 —本例为File。
The Menu object has a text attribute whose value is a String representing the title of the menu to be displayed — File in this case.
您可以在ServerExplorer树中使用节点中的CloneDefinition上下文菜单克隆表、视图、存储过程、函数等对象。
You can clone objects such as tables, views, stored procedures, and functions using the Clone Definition context menu that is available on these nodes in the Server Explorer tree.
在调用扩展点的标签中定义的菜单名时,将调用扩展personaction类的对象的publicvoid runWithEvent (Eventarg0)方法。
When the menu name you defined in the label of your extension point is called, the public void run (IAction arg0) method of the object extending the LiveNameActionDelegate class is invoked.
如果他们能够使用程序的Object菜单的惟一时刻是当他们使某个对象被选择时,那么其余的时间他们将不会介意不存在该菜单。
If the only time they can use a program's object menu is when they have an object selected, they won't mind that the menu isn't there the rest of the time.
单击这个菜单(onclick)时,通过另一个名为addcustomer的zul,我使用Executions对象实例化一个Window对象。
When this menu is clicked (onClick) I instantiate a Window object through the Executions object using another zul called addCustomer.
您的Swing对象有一些菜单项,但是不必将任何用于这些菜单项的代码放到视图类中。
Your Swing object has some menu items, but you haven't put any code for them in the view class.
您的Swing对象有一些菜单项,但是不必将任何用于这些菜单项的代码放到视图类中。
Your Swing object has some menu items, but you haven't put any code for them in the view class.
应用推荐