为了用托管扩展定义一个事件,你得用__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.
示例代码定义的案例管理资产由一个数据模型和三个事件动作组成。
The case management asset defined by the sample code consists of a data model and three event actions.
通过每个事件——实体改变其状态——通常可以方便地定义一个过程。
With each event, the entity changes its state, a process that is normally easy to define.
业务用户定制时间轴/里程碑模型以创建一个特定于用户的模型,并定义该模型需要的业务事件。
The business user customizes the timeline/milestone model to create a user-specific model, and defines business events required by the model.
解决方案:定义包含与事件处理程序关联的范围的一个流程。
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.
在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.
为此,我们将定义一个receiver类,并修改SessionManager类以初始化我们的事件接收器。
For this purpose, we will define a receiver class and modify our SessionManager class to instantiate the event receiver for us.
在actiontransitionfunctions表中定义一个Pause对象,它具有分别对应于这些事件类型的属性,如清单10所示。
You will define a Pause object in the actionTransitionFunctions table that has a property for each of these event types, as shown in Figure 10.
交互集:包含一个或多个交互块,它定义了WebSphereBusinessEvents在收到事件时将要运行的业务逻辑。
Interactions sets: Contain one or more interaction blocks that define the business logic to be run by WebSphere business Events when it receives an event.
Mate这个Flex框架利用基于标签的MXML语言提供了一个定义Flex应用程序如何处理事件的映射。
Mate is a Flex framework that leverages the tag-based MXML language to provide a map defining how the Flex application handles events.
它定义了两个事件处理程序,一个用于load事件,另一个用于unload事件。
It defines two event handlers, one for the load event, and one for the unload event.
IBMportletAPI允许通过指定portlet请求的ModeModifier来在事件处理中定义下一个portlet模式。
The IBM portlet API allows the next portlet mode to be defined within event processing by specifying the ModeModifier of the portlet request.
清单2显示小部件的一个预定义接收事件和两个发送事件的定义。
Listing 2 shows the definitions for the widget's one predefined receive event and two send events.
换言之,它决定了一个业务事件何时发生或没能发生(基于模式或规则定义)并据此调用一次业务操作。
In other words, it determines when a business event has occurred or failed to occur (based on pattern or rule definitions) and invokes a business operation as a result.
每一个事件组概要配置会定义一个逻辑事件组。
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.
简单的业务事件是一个事务的直接结果,而复杂的业务事件则是业务分析人员定义的一系列变化组合而形成的结果。
A simple business event is a direct result of a transaction, whereas a complex business event results from a series of changes, in combination, defined by a business analyst.
一个事件由作为已定义数据字段集的一个或多个事件对象组成。
An event is composed of one or more event objects, which are sets of defined data fields.
自定义步骤完成小部件包含一系列已发布的事件和一个已处理的事件。
The custom step completion widget contains a series of published events and a handled event.
一个应用系统或管理员通过图形界面工具创建一个主题或由标题定义的接入点,或者事件类型。
An application or an administrator using a GUI tool creates a Topic or an Access Point identified by a subject or an event type.
这个非常简单的项目定义了一个事件、一个动作、一个结果事件和该结果事件生成的动作。
This very simple project defines one event, one action, one result event and the action it generates.
应用推荐