Event method information is provided by the Function Selector.
事件方法信息是由函数选择器提供的。
Notice that the first script in the figure is not placed in an event handler method.
注意,图中的第一个脚本并不放置在一个事件处理程序方法中。
The event handling method of the inner class is shown in Listing 2.
内部类的事件处理方法如清单2 所示。
ConnectToPlot is a very useful method for event handling.
connectToPlot是一个非常有用的事件处理方法。
An event indicating that a method has been invoked.
指示方法已被调用的事件。
Starting with StartElement as the next expected event, the method will concatenate all characters and return the resulting string before an EndElement is encountered.
从StartElement作为下一个预期事件开始,该方法在遇到EndElement之前将所有字符连接起来并返回结果字符串。
An event indicating that a method call is about to return.
指示方法调用准备返回的事件。
Like Listing 9, Listing 10 also receives the event identifier over the GET method.
类似于清单9,清单10也通过GET方法取得事件标识符。
The next parse event is obtained with the next method.
下一个解析事件是用next方法获得的。
In this method you'll wire up event handlers to the appropriate HttpApplication events.
在此方法中,您将把事件处理程序绑定到相应的HttpApplication事件。
In programming terms, the trigger method should be scoped to event.
在编程术语中,trigger方法的范围应针对事件。
Table 5 summarizes the URI pattern and HTTP method, as well as which event gets emitted.
表5总结了URI模式和HTTP方法,以及发出了的哪些事件。
In your code, execute the object's Fill method (perhaps in a FormLoad event).
在您的代码中执行对象的Fill方法(可能在FormLoad事件中)。
Once these object properties are set, the insertEvent() method actually saves the event to the Google servers.
设置完这些对象属性后,insertEvent()方法将事件保存到Google服务器。
It would then be up to the resource adapter to decide which method to invoke, depending on the event.
这样就可以让资源适配器根据事件判断要调用哪个方法。
Defines the events that this widget should handle, and the method that is called when the event is received.
定义小部件应该处理的事件,以及收到事件时调用的方法。
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方法遍历集合,对每个元素应用一个事件侦听器。
Notice that the test automation simulates a button click by directly invoking the button control's associated method rather than by firing an event.
请注意,测试自动化是通过直接调用按钮控件的相关方法模拟按钮单击的,而不是通过触发事件模拟。
The only downside is you'll need to run this method on your page's onLoad event, on the body tag.
惟一的缺点是您需要在页面的body 的onLoad事件上运行此方法。
Initially, the receiver of the event declares its interest to the publisher by calling the subscribe method.
最初,事件的接收者通过调用订阅方法向发布者声明他的兴趣。
Figure 1 shows this concept, with opportunities to hook in events to handle security aspects, or a particular HTTP method (such as GET or POST) event.
图1展示了这个概念,并且还包括了处理安全性方面问题的事件和特定的HTTP方法(比如GET或POST)事件。
Each time a timetick event occurs in FadeIn state, the handleEvent method will call a function that increases the opacity of the tooltip slightly.
每当在FadeIn状态下发生timetick事件时,handleEvent方法将调用一个函数,它略微增加工具提示的不透明度。
If, during the widget lifecycle, some connections are not needed any longer, the implementer can manually disconnect them by calling the disconnect method to reduce the event handling.
如果,在小部件生命周期内一些连接已经不再需要,那么实现者就可以通过调用disconnect方法来手动断开这些连接以减少事件的处理。
These handlers can perform any number of tasks, including calling a service, setting a value on a class, calling a method on a class, or dispatching another event.
这些事件处理器可以执行任何数量的任务,包括对某项服务的调用,对一个类中某个值的设定,对一个类中某个方法的调用,或者分发另一个事件。
This method takes two arguments, the assessment type and a reference to the original event info (Figure 12).
此方法带两个参数,评估类型和原始事件信息的一个引用(图12)。
The second parameter to the macro is the fully qualified name of the method that should be called when the menu event is triggered.
第二个参数是在触发菜单事件时调用的方法的全限定名。
While iterating over the events, method peek determines if the next event will be the start of an icon element, which contains the feed's icon URL.
迭代事件的过程中,peek方法判定下一个事件是否从icon元素开始,该元素包含提要的图标url。
This is the method used by the PresenceMonitor to send notification of an SIP event.
这是一个由PresenceMonitor用于发送SIP事件通知的方法。
So the UI test automation will not catch the logic error if the application has the wrong method wired to a button click event (although every test would fail and you'd find the problem quickly).
所以如果应用程序为按钮单击事件关联了错误的方法,UI测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
So the UI test automation will not catch the logic error if the application has the wrong method wired to a button click event (although every test would fail and you'd find the problem quickly).
所以如果应用程序为按钮单击事件关联了错误的方法,UI测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
应用推荐