We will learn what an event object is and how to use it in a multithreaded program.
我们将学习什么是一个事件对象和如何在多线程程序中使用它。
The event handler is passed an event object that you can use to prevent default behaviour.
这个事件处理函数会接收到一个事件对象,可以通过它来阻止(浏览器)默认的行为。
A computer application creates an event object (a computer record) to signal or report the event.
计算机应用程序创建事件对象(计算机记录)来表示或报告事件。
Gets an event object which can be used to be notified when a tool window is showing or hiding.
取得事件物件,它是当工具视窗显示或隐藏时用以接受通知的物件。
Gets an event object which can be used to be notified when the debugger starts or stops an expression evaluation.
获取一个事件对象,调试器开始或停止计算表达式时,可以使用该事件对象进行通知。
An event handler is more general; it takes an event object that contains the event type, the event coordinates, and so on.
事件处理程序更通用,它以一个事件对象为参数,其中包含事件类型、事件坐标等。
The WSAEventSelect function specifies an event object to be associated with the specified set of FD_XXX network events.
确定与所提供的FD_XXX网络事件集合相关的一个事件对象。
The message bus creates an event object and dispatches it, along with an instance of a business service, to an event channel.
消息总线将创建一个事件对象,并且将该事件对象连同业务服务的实例一起发送给事件通道。
The message bus creates an event object and dispatches it, along with an instance of a business service, to an event channel .
消息总线将创建一个事件对象,并且将该事件对象连同业务服务的实例一起发送给事件通道。
At a minimum, a sensor component must perform the monitoring and detecting functions to detect that the event happened and to create an event object to signal the event.
传感器组件至少必须执行监视和检测功能,以检测所发生的事件并创建事件对象来表示该事件。
For example, you can subclass your existing object model and represent each type as an event.
例如,您可以将已有的对象模型分类并且将每一个类型表示为一个事件。
The information gathered by the event handler must be encoded in an error message that's wrapped in an exception object and posted to the parser's client.
事件处理程序采集的信息必须编码在一个错误信息中,该错误信息包装在一个异常对象中提交给解析器客户。
When you have to notify multiple object managers of an event at the same time, a publish-subscribe paradigm is best suited for your communication needs.
如果必须将一个事件同时通知多个对象管理器,那么使用发布-订阅模型是最合适的。
When working with these four pieces, you can dictate that when a specific event occurs, an attribute of a particular object must change.
在实际使用时,可以规定特定的一个事件在何时发生,某个对象 的属性必须更改等。
This is done by wiring the event to an event handler containing the code to be executed when the object raises the event.
然后将事件与一个事件处理程序关联,后者包含该对象产生事件时将执行的代码。
An individual event object is short-lived, and exists only long enough for immediate processing before it ceases to be.
单个事件对象的存活期非常短,在其消失之前刚够时间进行即时处理。
Figure 2 is an object state diagram of the six phases of the JSF lifecycle, including validation and event handling.
图2是JSF生命周期的第五个阶段的一个对象状态图,包括时间有效性验证和处理。
When an event occurs, the object associated with that event emits a signal to inform the main loop that it has occurred.
当事件发生时,与这个事件对应的对象发出信号,通知主循环事件已经发生。
Most parsers offer at least two different APIs, typically an object model API and an event API (also called stream API).
多数解析器提供了至少两种API,通常是一个对象模型API和一个事件 API(也称为流 API)。
The message informs the delegate of an event that the delegating object is about to handle or has just handled.
消息通知事件的委托方法,委托对象将要处理或已经处理。
An event group profile object defines a selector string which determines which events belong to this group.
事件组概要对象定义了选择器(selector)字符串来决定哪些事件属于这个组。
For an SVG object to respond to a scripted event, the prefix on is added to the trigger names, so click becomes onclick, mouseover becomes onmouseover, and so forth.
要让一个SVG对象对脚本中的事件作出响应,要在触发器名上加前缀on,这样click就变为onclick,mouseover就变为onmouseover,等等。
OpenEvent is used to open an existing named event object.
OpenEvent用来打开一个现有的有名事件对象。
They create a trivial timer event object that contains only an event type -- either timeout or timetick -- and pass it to the same handleEvent method that handles cursor events.
它们仅仅创建一个简单的计时器事件对象,其中只包含一种事件类型 ——timeout或者timetick,并将它传递给处理鼠标事件的同一个 handleEvent方法。
You built an object which can collect event data, constructed the event in the connector packet form and send it to Business Events using the REST interface.
我们建立了一个可以收集事件数据的对象,构建了connectorpacket格式的事件,并使用REST接口将其发送到BusinessEvents。
The postSet() needs to fire an event to all of the registered listeners with the object being updated, the action of the update, the value before, and the value now.
postSet()需要向注册的所有监听器触发一个事件,事件包含更新的对象、更新的操作、更新之前的值和目前的值。
Let's create an object called WBEEvent that can take event data, construct an event connector packet, and send it to Business Events.
让我们创建一个名为WBEEvent的对象,获取事件数据,构建一个事件连接器包,并将其发送给Business Events。
Consider a set of observations (also called features, attributes, variables or measurements) for each sample of an object or event with known class y.
设观测向量x(也被称作特征、属性、变量、测量值等)对于对象或事件的每一个采样的所属类y都是已知的。
An adapter, a business processing object, or both can subscribe to application event messages published to the WebSphere MQ message Broker.
适配器、业务处理对象或两者都能够订阅发布到WebSphereMQMessageBroker的应用程序事件消息。
Whenever this socket object reads data from the server, it will fire an onData event that will be handled by the handler defined for onData.
只要此套接字对象读取到来自服务器的数据,就会触发ondata事件,该事件将由为onData定义的处理方法处理。
应用推荐