当你已经确定应用程序的哪些事件用户可能会关心之后,如果有的话,你也应该允许你的用户决定哪些事件使用什么类型的通知。
After you've identified the events your users are likely to care about, you should also allow users to decide which events should generate what type of notification, if any.
需要得到事件通知的用户和管理员可以利用此架构并从中受益。
Users or administrators that need such event notifications can utilize this framework and benefit from it.
事件订阅允许用户确定一个项目类型和与该项目相关联的事件。
Event subscription allows the user to identify an item type and the events associated with that item type.
必须彻底测试所有用户定义、事件、请求、更新、更改和需求的管理。
Management of all user definitions, events, requests, updates, changes, and requirements must be tested thoroughly.
手工:用户可以使用用户界面触发事件。
Manually: Users may fire events by using the user interface.
现在我们的部件已经设置完成,并且程序准备接收用户事件。
The setup of our widget is now complete, and the program is ready to receive user events.
从远程节点接收到的事件不包含用户、进程信息或栈追踪,即使事件创造器支持。
Events received from a remote node do not include user or process information or stack trace, even if the event producer supports it.
添加事件时,用户需要填写标题、类别、开始时间和持续时间字段。
When adding an event, the user is required to type in the title, category, start time and duration fields.
这个空视图会在用户事件产生时进行填充。
The empty view will be populated as the user causes events to occur.
可以在管理控制台中使用失败事件管理器用户界面检查这些事件,然后重新提交或删除它们。
You can examine these events with the failed event manager user interface in the Administrative console, then resubmit or delete.
细粒度的事件处理对富用户界面至关重要。
Fine-grained event handling is the key to a rich user interface.
虽然事件常常被用于处理用户输入和其它异步发生的行为,但事件本身是以同步方式发生的。
While events are often used to handle user input and other actions that happen asynchronously, the events themselves happen in synchronous fashion.
一得知该情况,我们马上要求删除这些密码并展开调查来决定该事件对用户的影响。
Upon learning of the issue, we immediately requested that the credentials be removed and launched an investigation to determine the impact to customers.
通知客户机实际的事件:用户按下某个按键;午夜时钟敲响;风扇停止工作造成CPU烧毁;
To Notify Clients About Real-World Events The user pressed a key; the clock struck midnight; the fan failed and the CPU is on fire.
这包括了如何将事件—包括用户级事件,如单击按钮—转换成操作和过程。
This will include how events - including user level events such as clicking on a button - are translated into operations and processes.
在浏览器中,通常为响应用户操作而生成事件:当用户单击按钮时,按钮产生一个ONCLICK事件。
In a browser, events are typically generated in response to user actions: a button fires an ONCLICK event when the user clicks.
组件需处理类似事件以通知用户程序,并且做适当的日志以便促进排除故障和服务监测。
Components are required to handle such events to notify client programs and also do appropriate logging to help facilitate troubleshooting and service monitoring.
要确保一个自动化测试能真正模拟用户输入,您需要生成操作系统级的“原生”事件,就像用户在使用键盘和鼠标一样。
To ensure that an automated test truly simulates user input, you need to generate "native" events at the operating-system level, just as if a user were using the keyboard and mouse.
除了默认提供的标准事件之外,用户还可以定义自己的事件。
In addition to the standard events that are available by default, users can define their own events.
每个控件都有响应用户操作的事件。
Each control has events that enable you to respond to actions from the user.
然而,以前发生过手机爆炸用户受伤的事件。
However, there have been cases when users sustained injuries as phones exploded.
当发生此类事件时,用户记住服务器的名称要比记住新旧ip地址容易得多。
When this happens, it's much easier on users to remember the name of the server instead of having to remember what the old and new IP address are.
列表1 .添加一个onclick事件到用户界面的按钮上。
Listing 1.adding an onclick event to the user interface button.
RegionDoubleClick事件允许用户双击一个日程表日期,自动打开新的约会表单。
The RegionDoubleClick event allows users to double-click a calendar date and automatically launch the new appointment form.
onunload事件在用户离开页面时发生。
TreeGrid负责显示数据,且只处理用户事件。
TreeGrid is in charge of displaying the data and handling user events only.
onhighlight事件当用户点击树节点时触发。
The onhighlight event is triggered when the user clicks the tree node.
处理enter键:取消Add按钮,通过检查textarea的onkeydown事件看看用户是否按下了Enter或return键。
Handle the Enter key: Instead of having an Add button, watch for users pressing the Enter or Return key by hooking onto the onkeydown event in the textarea.
处理enter键:取消Add按钮,通过检查textarea的onkeydown事件看看用户是否按下了Enter或return键。
Handle the Enter key: Instead of having an Add button, watch for users pressing the Enter or Return key by hooking onto the onkeydown event in the textarea.
应用推荐