The event listener will invoke your back-end service.
事件侦听程序将调用后端服务。
An event listener that counts events coming from each General Agent.
一个事件侦听器,对来自每个普通代理事件进行计数。
You then add an event listener to one of your buttons for adding a new artist.
然后将事件侦听程序添加到一个按钮上以添加新艺术家。
Listing 2 details the addHighlightStyle function called by the load event listener.
清单2详细说明了负载事件侦听程序所调用的addhighlightstyle函数。
How would I go about getting rid of the gradient when the color is generated by the event listener?
当事件侦听器生成颜色时,如何去除渐变?
When this request is complete, the loadChart() function is called and the current event listener is removed.
完成此请求后,将调用 loadChart()函数,并删除当前事件侦听器。
Listing 3 shows the code of the other event listener, globalKeyPress, as well as the boxKeyPress function.
清单3显示了另一个事件侦听程序globalkeypress以及boxkeypress函数的代码。
When I modify the column header colors using the event listener method shown here, I get a default gradient.
当我使用此处显示的事件侦听器方法修改列标题颜色时>,我得到一个默认渐变。
It is necessary to add a JMX event listener to the AppManagement MBean to understand the completion of update operation.
有必要向AppManagementMBean添加一个JMX事件,以了解更新操作是否完成。
Between those lines, you define an event listener using an idiom similar to what you would use to bind an event in Swing.
在头两行和最后两行之间,您使用Swing中用于绑定事件的同一风格来定义一个事件侦听器。
You're given every element with the header style, and you then iterate over that collection with the forEach method, applying an event listener to each element.
收到每个带有 header样式的元素后,用forEach方法遍历集合,对每个元素应用一个事件侦听器。
The method that stops a running HSQLDB server does not need to update the map or the session properties, as these will be taken care by the debug event listener.
停止运行着的HSQLDB服务器的方法不需要去更新映射或者会话属性,因为这些将由调试事件监听器来完成。
In this case, you're looking for any elements that have the header style, and you then apply an event listener to each element returned (more on that in the next section).
在本例中,您是在寻找具有报头样式的元素,并对返回的每个元素应用一个事件侦听器(更多介绍见下节)。
The event listener component of Lotus Domino listens for Lotus Domino events in specific Lotus Domino databases and populates the event table with information about the events.
LotusDomino的事件监听器组件监听特定的Lotus Domino数据库里的Lotus Domino事件,并用关于事件的信息来填充事件表。
Disposing of the drag-source also removes drag-listener-x (that was added when the drag-source was created) from CTabFolder's event listener table, as shown in Figure 3 above.
对drag - source的处理还从CTabFolder的事件监听器表中删除了drag - listener - x(它是在创建drag - source时添加的),如上面的图3所示。
This module must register as an event listener with the browser in order to receive the notification of downloads and document-specific events. By making use of ATL smart Pointers.
该模块必须作为一个浏览器的事件侦听器来实现,目的是为接收下载以及与文档相关的事件。
This means that you can attach the same Listener instance to multiple widgets where necessary; you can use the sender parameter to determine which of them fired the event.
这意味着可以把同一个Listener实例附加到所需的多个小部件上;可以用sender参数确定是哪个小部件触发了事件。
No Listener interface is used; instead attributes that match the interesting event handler entry points defined by the class (for example, actionPerformed) are set to Jython functions.
没有使用 Listener接口,而是使用该类定义的匹配要注意的事件处理程序入口点的特性(例如actionPerformed)设置给Jython函数。
Now, when an event of type t1 occurs on that widget, first Filter 1 is informed of the event occurrence, followed by Listener 1, then Listener 2.
现在,当这个控件上产生一个t1类型的事件时,第一个接收到发生该事件的通知的是Filter1,然后是Listener 1,最后是Listener2。
For example, say a Listener 1 is first registered on a widget for event type t1 followed by a Listener 2 for the same event type t1.
例如,假设Listener1是在某个控件上为t1类型的事件注册的第一个监听器,而Listener2是在这个控件上为相同的t1类型的事件注册的第二个监听器。
When the CIM event handlers are registered on the target CIM server, we were able to get the connection information of each established listener.
当在目标CIM服务器上注册 CIM事件处理程序时,我们能够获得每个建立的侦听程序的连接信息。
Another technique that can sometimes be used to find otherwise hidden lapsed listeners is preventing a given listener object from being registered twice with a given event source.
另外一项可以用来找到隐藏失效侦听器的技术是:防止指定侦听器对象在指定事件源上登记两次。
Install a focus listener on the component and look for the FOCUS_GAINED event.
而应该给组件安装一个焦点侦听器,并查找FOCUS_GAINED事件。
When the user selects/deselects a node in the tree viewer, the selection changed listener gets called with this: public void selectionChanged(SelectionChangedEvent event).
当用户选中/取消选中树查看器中的节点时,用下面的方法调用选择更改侦听器
If you are familiar with the Swing event model, you know that you need to add an action listener to the checkbox so that whenever the user changes it, the listener can perform some action.
如果熟悉Swing事件模型,您就知道需要为复选框添加一个活动监听器,从而每当用户改变它时,监听器都可以执行某个动作。
To receive multiple events from the same object, you must register your listener for each event.
要从同一个对象接收多个事件,你必须为每个事件注册你的侦听器。
The caller should set up a listener to handle a successful data fetch before invoking getKpiHistoryByIdRollingTimePeriod by setting up a listener for the complete event on the kpiHistoryService.
调用方应该在kpiHistoryService 上设置完整事件的侦听器,从而在调用 getKpiHistoryByIdRollingTimePeriod之前建立一个侦听器来处理成功获取数据的操作。
After informing the default set of listeners, the newly registered drag-listener-x is also informed of the drag event, thus achieving our purpose.
在通知defaultsetof listeners之后,新注册的drag - listener - x也会接收到拖放事件的通知,这样就可以实现我们的目的了。
On the Event Handling page, make sure that Add action listener and Add form sample are checked, as shown in Figure 5.
确保选中EventHandling页上的Addactionlistener和Addformsample,如图5所示。
According to the requirements of the model, listener class and it's object will be created to register to the event source and realize the specific method in interface.
根据模型要求,要创建监听器类及其对象,完成向事件源的注册并实现接口中的特定方法。
应用推荐