按钮和链接也提供事件处理。
通过单击最小UI(例如,按钮)或其他事件,触发可以是一种属性触发。
The trigger can be a property firing, clicking the minimal UI (for example, a button), or some other event.
控制器处理所有UI事件,例如单击按钮、选择菜单以及更改文本字段。
The controller handles all UI events, such as button clicks, menu selection, and text-field changes.
事件冒泡了等,这样您就能够捕获事件,并找出它来自哪个按钮。
Events bubble up so you'll be able to catch the event and figure out which button it originated from.
到目前为止,我讨论了用户生成的事件——用户只要按下按钮或单击链接,PHP就运行相应的脚本。
So far, I've discussed user-generated events - if the user presses a button or clicks a link, PHP runs a script.
为使解决方案中涉及的组件的角色保持统一,RTLS提供者预计会发送一个“按钮按下”事件。
To keep consistent with the roles of the components involved in the solution, the RTLS provider is expected to send a "button press" event.
扩展和插件使用的主要区别在单击两个按钮的事件处理程序时可以看到。
The primary difference between the use of extensions and plug-ins can be seen in the click event handlers for the two buttons.
被调用的按钮和事件处理程序的类型的逻辑包含在此方法中,如清单15 所示。
The logic for the type of button and the event handler to be invoked is contained in this method, shown in Listing 15.
所有这些方法和常量应该会使得对按钮事件做出响应更加容易。
All these methods and constants should make responding to button events easier.
对于用户交互来说,你可以处理键盘敲击或按钮点击或其他控件事件。
For interaction with the user, you can process keystrokes or clicks on buttons or other components.
解释按钮按下事件并将其映射到一个有效的资产STATUS(下一节将详细介绍)。
Interpret the button press event and map it to a valid asset STATUS (more on this in the next section).
图18显示最初生成的输出,以及单击按钮触发事件后的输出。
Figure 18 shows the generated output initially and the output after the event has been fired by clicking the button.
这包括了如何将事件—包括用户级事件,如单击按钮—转换成操作和过程。
This will include how events - including user level events such as clicking on a button - are translated into operations and processes.
所以如果应用程序为按钮单击事件关联了错误的方法,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).
如果你有一个运行时间很长的数据库查询(比如由按钮点击所触发),那么在按钮事件产生后你可以增加延迟时间。
If you have a long-running database query for example that's triggered by a button press, you can simply increase the time paused after the button event has been issued.
为希望测试的事件输入值并选择事件的单选按钮。
Enter values for the event you want to test and select the event's radio button.
为了获得更好的可用性,可以选择将以下代码行添加到编辑按钮的onclick事件。
Optionally, for better usability, add the following line of code to the onclick event for the edit button.
用户可以通过单击列表视图中的Add按钮添加事件。
The user can add events by clicking the add button in the listing view.
然后可以使用Dojo为按钮点击关联一个事件处理函数。
You then use Dojo to associate an event handler for when the button is clicked.
从另一个角度看,“巧妙之处在于,大灭绝事件就像重启按钮,通过它可以改变主宰地球的物种,”Conrad说。
Otherwise, "one neat thing about mass extinction events is that they're often reset buttons, where you change what dominates the globe, " Conrad said.
在控制器类中,可以定义Swing事件(例如单击按钮或更改文本字段)的处理程序,并控制模型的状态。
The controller class is where you define handlers for Swing events (such as button clicks and text-field changes) and control the state of the model.
因此可以改变按钮触发的事件:只要赋给onclick属性一个新的函数。
So you can change the event that's run on a button: you just assign a new function to the onclick property.
单击SendMeasurement按钮以将事件数据发送给DataCapture andDelivery设备代理,并启动处理流程。
Click the send Measurement button to send the event data to the data Capture and Delivery device agent and start the processing.
如果发生了一次admin事件(url或者按钮点击),那么adminwebflow将会进入到视图状态admin中。
If an admin event occurs (URL or button click), the admin webflow will go into the view state admin.
您肯定不想Real - TimeAsset Locator同时解释按钮按下事件和创建业务行为,比如创建Maximo中的工作流。
You explicitly do not want Real-Time Asset Locator to both interpret the button press event and create the business activity, such as create the workflow in Maximo.
Real - TimeAsset Locator将负责解释这个按钮事件并将其映射到一个资产状态更改。
Real-Time asset Locator will be responsible for interpreting the button event and map it to a change in state of an asset.
在InvokeService按钮的Click事件的代码窗口中输入如 清单2的声明,。
The declaration can be typed into the code window for the Invoke Service button click event as shown in Listing 2.
单击Report按钮显示为mighelp容器生成的EPCIS事件。
Click on the Report button to display the EPCIS events generated for the MigHelp container.
将以下代码行添加到Replacedocument和Cancel按钮的onclick事件。
And add the following line of code to the onclick event for the Replace document and Cancel buttons.
BuddyListDelegate接口将处理先前定义的 viewAction按钮的单击事件。
The BuddyListDelegate interface handles clicks to the viewAction button, which you defined previously.
应用推荐