这段代码使用和前面一样的参数:一个目标对象和一组鼠标处理程序。
This code takes the same arguments as before: a target object and a set of mouse handlers.
这些对象都是逐个修改的,这意味着管理员使用鼠标和键盘来定义更改。
Each of these objects are modified one by one, meaning that the administrator USES his mouse and keyboard to define the changes.
应用程序的“事件循环”会给这个聚焦的对象发送键盘键盘动作、鼠标事件和菜单选择等行为。
The application's "event loop" will send keyboard actions, mouse events and menu selections to this focus object.
今天,鼠标右键担负了重要而又极其有用的角色。例如支持直接访问属性,和其他情境中针对对象和功能相关的操作。
Today the right mouse button serves an important and extremely useful role: enabling direct access to properties and other context-specific actions on objects and functions.
当用户单击对象,操作必须解释为选择,而不是拖动,即使是用户在单击和释放期间不小心将鼠标移动了一两个像素的距离。
When the user clicks on the object, the action must be interpreted as a selection rather than a drag, even if the user accidentally moves the mouse a pixel or two between the click and the release.
选择对象的技巧:鼠标从左向右,和从右向左所做的选择是不同的。前者是选择完全包含的对象,后者则包括交叉的对象。
Select the object techniques: the mouse from left to right, right to left and made a different choice is the former is entirely contained in the object selection, the latter including cross object.
选择对象的技巧:鼠标从左向右,和从右向左所做的选择是不同的。前者是选择完全包含的对象,后者则包括交叉的对象。
Select the object techniques: the mouse from left to right, right to left and made a different choice is the former is entirely contained in the object selection, the latter including cross object.
应用推荐