现在您需要为该事件定义一个操作。
清单4展示这个示例事件定义的代码。
清单3展示这个示例事件定义的代码。
向portlet程序添加事件定义。
向portlet程序添加事件定义。
清单2展示了这个示例事件定义的代码。
清单5展示了这个示例事件定义的代码。
清单6展示了这个示例事件定义的代码。
创建一个XML事件定义。
您还可以在嵌套事件定义时对其进行引用。
You can also refer to them when you are nesting event definitions.
根据低级模型中的事件定义发送出站事件。
Send an outbound event based on that event definition from the low-level model.
本小节介绍如何向您的小部件定义文件添加事件定义。
This section describes how to add event definitions to your widget definition file.
使用新的事件定义编辑器创建自定义CBE事件。
Create custom CBE events with the new event definition editor.
您可以使用事件定义来定义一个特定的事件需要包含哪些属性。
You can use the event definition to define what properties a particular event should contain.
清单2显示的是RoleSelector . xml中的事件定义。
您将创建的事件定义之一是ShippedPercentage.cbe。
One of the event definitions you'll create is ShippedPercentage.cbe.
定义事件和一个事件对象。
一种比较好的方法是创建一个定义事件的接口。
A better way is to create an interface that defines the events.
定义一个事件侦听器并将其注册至视图。
相反,可以定义您自己的事件以及触发它们时会发生什么。
Instead, you can define your own events and what should happen when they're triggered.
首先,我们必须定义事件以通知使用这个特殊的内容扩展。
First, we must define events that will signal the use of this particular content extension.
定义启动所需数量的事件处理程序的循环。
Define a loop that starts the required number of event handlers.
定义触发该进程的事件。
最后,需要定义简单的事件处理程序,如清单5所示。
Finally, you define the simple event handler shown in Listing 5.
还要注意事件处理程序是如何定义的。
要真正响应事件,必须在实现文件内定义事件表。
To actually respond to events, you must define the event table within your implementation files.
然而,它不定义足够的事件来完整地报告dtd。
However it does not define enough events to completely report on the DTD.
非洲精神将超越一切,定义这个重要事件。
More than anything else, the spirit of Africa will define this important event.
首先你得定义事件接口。
首先你得定义事件接口。
应用推荐