定义一个事件侦听器并将其注册至视图。
您可以定义一个事件处理的功能和设置为事件您关心的。
You can define an event handling function and set to the event you care about.
为了用托管扩展定义一个事件,你得用__event关键字。
To define an event using the Managed Extensions, you use the __event keyword. For example, the Button class in Windows: : Forms has a Click event.
在头两行和最后两行之间,您使用Swing中用于绑定事件的同一风格来定义一个事件侦听器。
Between those lines, you define an event listener using an idiom similar to what you would use to bind an event in Swing.
修正这个问题,只要给按钮的“onClick ”事件定义一个事件处理器就可以了,跟编写HTML表单是一样的。
Fixing that particular problem lies in defining an event handler for the button's "onClick" event, again just like what a developer would write for an HTML form.
定义事件和一个事件对象。
现在您需要为该事件定义一个操作。
在循环之后,定义接收活动,该活动将等待最后一个事件处理程序实例调用。
After the loop define a receive activity that waits until it is invoked by the last event handler.
一种比较好的方法是创建一个定义事件的接口。
A better way is to create an interface that defines the events.
每个业务事件包括了一个对于相关数据的清晰定义。
Each business event includes a clear definition of the accompanying data.
解决方案:定义包含与事件处理程序关联的范围的一个流程。
Solution: Define a process that contains a scope with an event handler associated.
TDI允许用户定义一个装配线,其中包含在捕捉到事件时要采取的步骤。
TDI lets the user define an assembly line that contains the steps that are taken when an event is captured.
创建一个XML事件定义。
定义一个函数以处理事件;特别是,要实现以下任务。
Define a function to handle the event; specifically, implement these tasks.
在portlet部署描述器中创建一个事件定义。
Create an event definition in the portlet deployment descriptor.
在portlet部署描述器(PDD)中创建一个事件定义。
Create an event definition in the portlet deployment descriptor (PDD).
要定义一个OnEvent事件处理程序,必须指定一条消息。
To define an OnEvent event handler, you have to specify a message.
在如图2所示的Runproperties标签页中,您可以定义什么是一个成功的事件。
In the Run properties TAB, shown in the Figure 2, you can define what you consider is a successful event.
在该控件上有一个change属性,它定义在触发了 change 事件时要调用的函数。
On this control you have a change attribute which defines the function to call when the change event is fired.
代码还为入站和出站事件创建一个XML事件定义,并将其保存在一个名为ModelOutboundEvent . XSD的文件中。
The code also creates an XML event definition for the inbound and outbound events and saves it in a file called ModelOutboundEvent.XSD.
在小部件定义xml(见flexWrapper . xml文件)中定义一个要发布的事件。
Define an event to publish inside the widget definition XML (see the file FlexWrapper.xml).
它定义了两个事件处理程序,一个用于load事件,另一个用于unload事件。
It defines two event handlers, one for the load event, and one for the unload event.
定义一个定制事件后,就可以在事件处理代码中使用它。
Once you define a custom event, you can use it in your event processing code.
您可以使用事件定义来定义一个特定的事件需要包含哪些属性。
You can use the event definition to define what properties a particular event should contain.
清单2显示小部件的一个预定义接收事件和两个发送事件的定义。
Listing 2 shows the definitions for the widget's one predefined receive event and two send events.
每一个事件组概要配置会定义一个逻辑事件组。
Each event group Profile configuration defines a logical grouping of events.
当CEP引擎发现与指定的关系匹配的一组事件时,它通知警报组件,然后警报组件创建一个用户定义的通知。
When the CEP engine finds a set of events that matches the relationship, it notifies the alerts component, which then creates a user-defined notification.
一个事件由作为已定义数据字段集的一个或多个事件对象组成。
An event is composed of one or more event objects, which are sets of defined data fields.
一个应用系统或管理员通过图形界面工具创建一个主题或由标题定义的接入点,或者事件类型。
An application or an administrator using a GUI tool creates a Topic or an Access Point identified by a subject or an event type.
一个应用系统或管理员通过图形界面工具创建一个主题或由标题定义的接入点,或者事件类型。
An application or an administrator using a GUI tool creates a Topic or an Access Point identified by a subject or an event type.
应用推荐