You should think of this class as an event listener.
您应该把这个类当作事件侦听器。
Define an event listener and register it with the View.
定义一个事件侦听器并将其注册至视图。
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函数。
This technique creates a strong reference from the event source to the event listener.
这个技术会建立事件来源对事件接听项的强式参考。
It's more complicated code that requires extending a class to register an event listener.
它是更为复杂的代码,要求扩展类才能注册事件侦听程序。
The flush event listener class must be set to com.ibm.pdq.hibernate3.listener.PDQFlushListener.
必须将flushevent listener类设置为com . ibm . pd q . hibernate3 . listener . pdqflushlistener。
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.
该模块必须作为一个浏览器的事件侦听器来实现,目的是为接收下载以及与文档相关的事件。
You use the familiar Listener pattern to perform event handling in GWT.
可以用熟悉的侦听器模式在GWT中执行事件处理。
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).
当用户选中/取消选中树查看器中的节点时,用下面的方法调用选择更改侦听器
应用推荐