下面的示例演示如何在类中实现接口事件。
The following example shows how to implement interface events in a class.
这个例子解决了一个常见问题:如何将更改中的行为附加到用户接口事件?
This example solves a common problem: how do you attach changing behavior to a user interface event?
而对于引起状态迁移的接口事件,则可以通过对象类中的成员函数来完成,成员函数体的主要功能就是实现状态迁移中发生的一系列活动。
The member functions of an object are the interface events that trigger state transitions, and actions associated with state transitions constitute the body of the member functions.
考虑一下CountryList怎样才能处理用户接口事件(鼠标单击,键盘),并通过这个方法使其能够被CountryTest测试,并被CountryApp使用。
Think about how CountryList could process user interface events (mouse click, keyboard) in a way that could be both tested by CountryTest and used by CountryApp.
一种比较好的方法是创建一个定义事件的接口。
A better way is to create an interface that defines the events.
橙色的两个接口定义系统中的主要事件。
The two interfaces in orange define the main events in the system.
它通过流程输入接口接收初始事件,而最终事件则通过流程输出接口离开该流程。
It receives initial events via the process input interface, while final events leave the process via the process output interface.
每个小部件都可提供进行内部通信或与第三方小部件通信的事件接口。
Each widget provides an events interface to communicate internally or with third-party widgets.
首先你得定义事件接口。
因此执行者扩展特定SAP接口,并将事件对象转换为SAP对象格式。
The actuator thus extends the specific SAP interface, and translates the event object to the SAP object format.
技术预览版事件只支持通过EJB接口同步的向事件服务器发送事件。
The technical preview events only support sending events synchronously to the event server, using an EJB interface.
发布者通常与外部信息和事件源存在接口,并将有关事件打包到一条通知消息中。
A publisher typically interfaces to external information and event sources and packages the pertinent event in a notification message.
简单事件通道的接口如清单2所示。
The interface for a simple event channel is shown in Listing 2.
您可能已经知道语法分析器有两类接口 - 基于对象的和基于事件的接口。
You probably already know that there are two classes of interfaces for parsers: object-based and event-based interfaces.
举个简单的例子,网络相关的事件创造器想要发送相关的网络接口的名称,而磁盘相关事件创造器就会发送相关的磁盘名称。
A simple example is a network-related event producer wishing to send across the affected network interface's name and a disk-related event producer sending the concerned disk name.
可以通过EPCIS查询接口查询 EPCIS中收集的事件。
The events collected in the EPCIS are made available for query through the EPCIS query interfaces.
这个接口为许多Hibernate事件提供回调方法,包括创建、修改和删除对象。
This interface provides callback methods for many different Hibernate events, including object creation, modification, and deletion.
任何定制事件类必须实现XMLEvent接口。
Any custom event class must implement the XMLEvent interface.
EventAccess接口允许事件消费者同步地查询历史事件。
Event Access interface allows the event consumers to query the historical events synchronously.
IAdaptable接口,与某些事件结合使用。
The IAdaptable interface used in conjunction with some events.
此接口用于将事件提交到BusinessEvents进行处理。
This interface will be used to submit events to Business events for processing.
可以通过管理控制台或MBean接口访问失败事件管理器。
You can access the failed event manager via the administrative console or via an MBean interface.
SAX 将其事件分为几个接口
该事件是INotifyPropertyChanged接口的唯一成员。
That event is the sole member of the INotifyPropertyChanged interface.
Error Handler接口定义错误事件。
使用ECMWidgets事件框架和接口。
EventAccess接口支持以下查询事件的方式。
The event Access interface supports the following ways for querying events.
使用XMLStreamReader接口读取具有事件迭代器的SQLXML对象中的XML文档。
Use the XMLStreamReader interface to read an XML document in an SQLXML object with an event iterator.
不过很容易编写一段胶水代码,从提供的StAX接口接收事件并驱动SAXContentHandler。
Still, it's easy to write a piece of glue code that picks up events from the provided StAX interface and drives a SAX ContentHandler.
不过很容易编写一段胶水代码,从提供的StAX接口接收事件并驱动SAXContentHandler。
Still, it's easy to write a piece of glue code that picks up events from the provided StAX interface and drives a SAX ContentHandler.
应用推荐