首先你得定义事件接口。
源对象不公开“0”事件接口。
获取实现事件接口的方法的类。
Gets the class that implements the methods of the event interface.
事件必须在事件接口中声明。
事件接口不需要选择。
每个小部件都可提供进行内部通信或与第三方小部件通信的事件接口。
Each widget provides an events interface to communicate internally or with third-party widgets.
事件通道通过确定事件接收者订阅的事件接口的最具体的子类型,来处理事件层次结构。
The event channel deals with event hierarchies by determining the most specific subtype of the event interface subscribed by an event receiver.
当从类型库导入源接口时,它实现的所有方法都将作为事件添加到所生成的事件接口中。
When a source interface is imported from a type library, any methods it implements are added as events to a generated event interface.
当发生这些事件时,CAI将尝试在这个接口中调用相应的方法。
CAI attempts to call the appropriate method in this interface when these events occur.
一种比较好的方法是创建一个定义事件的接口。
A better way is to create an interface that defines the events.
当发生这类事件时,组件可以使用这个接口执行额外的操作。
The component can use this interface to perform additional operations when such events occur.
这个例子解决了一个常见问题:如何将更改中的行为附加到用户接口事件?
This example solves a common problem: how do you attach changing behavior to a user interface event?
它通过流程输入接口接收初始事件,而最终事件则通过流程输出接口离开该流程。
It receives initial events via the process input interface, while final events leave the process via the process output interface.
因此执行者扩展特定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.
任何定制事件类必须实现XMLEvent接口。
Any custom event class must implement the XMLEvent interface.
关于失败事件管理器接口的更多信息,请参见FailedEventManager interface。
For more information about the failed event manager interface, refer to FailedEventManager 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.
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.
事件迭代器API的主要接口是XMLEventReader。
The main interface of the event iterator-based API is XMLEventReader.
不过很容易编写一段胶水代码,从提供的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.
应用推荐