按钮和链接也提供事件处理。
通过单击最小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.
扩展和插件使用的主要区别在单击两个按钮的事件处理程序时可以看到。
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.
解释按钮按下事件并将其映射到一个有效的资产STATUS(下一节将详细介绍)。
Interpret the button press event and map it to a valid asset STATUS (more on this in the next section).
从RTLS接收按钮按下事件以及当前位置信息。
Receive the button press event, along with current location information, from the RTLS provider.
图18显示最初生成的输出,以及单击按钮触发事件后的输出。
Figure 18 shows the generated output initially and the output after the event has been fired by clicking the button.
处理单击ok按钮时的事件。
这包括了如何将事件—包括用户级事件,如单击按钮—转换成操作和过程。
This will include how events - including user level events such as clicking on a button - are translated into operations and processes.
如果你有一个运行时间很长的数据库查询(比如由按钮点击所触发),那么在按钮事件产生后你可以增加延迟时间。
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.
用户可以通过单击列表视图中的Add按钮添加事件。
The user can add events by clicking the add button in the listing view.
在按钮的OnClick事件处理程序中,需要写入下列代码。
In the OnClick event handler of the button, you need to write this code.
从另一个角度看,“巧妙之处在于,大灭绝事件就像重启按钮,通过它可以改变主宰地球的物种,”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.
请注意按钮上指定的onClick事件。
在主页面上,转到编辑按钮的onclick事件。
On the main page, go to the onclick event for the edit button.
在控制器类中,可以定义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.
该函数被绑定到任何名为 participation_type_id的单选按钮的onclick()事件。
This function is bound to the onclick() event of any radio button named participation_type_id.
如果发生了一次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将负责解释这个按钮事件并将其映射到一个资产状态更改。
Real-Time asset Locator will be responsible for interpreting the button event and map it to a change in state of an asset.
清单2是按钮的onclick事件的部分代码。
打开Submit按钮onclick事件的脚本编辑器。
Open the script editor for the onclick event for the Submit button.
PUSH ——瞬时按钮(最常见的事件源)。
将以下代码行添加到Replacedocument和Cancel按钮的onclick事件。
And add the following line of code to the onclick event for the Replace document and Cancel buttons.
转到按钮的onclick事件。
转到Submit按钮的onclick事件。
再次,转向remove按钮的onclick事件。
应用推荐