macos:Mouse

出自UXGuide.net

跳转到: 导航, 搜索

请帮助我们修订和更新本文的中文部分

本文的中文部分虽然取自官方最新中文版本,但与英文原版相比已落后了一年多,可能无法反映英文版本中最近的修改,且文中笔误、前后译法矛盾、未翻译完全的片断较多,请您帮助一起修订完善。详情参见中文版修订完善计划

鼠标和其他指针式设备
The Mouse and Other Pointing Devices

目录


In the Macintosh interface, the standard pointing device is the mouse. Users can substitute other devices—such as trackballs and stylus pens—that maintain the behavior of direct manipulation of objects on screen.

在Macintosh接口中,标准的指针式设备是鼠标。用户也可以用其他的替代设备——例如轨迹球和触控笔——直接操作屏幕上的对象。

Moving the mouse without pressing the mouse button moves the pointer, or cursor. The onscreen pointer can assume different shapes according to the context of the application and the pointer’s position. For example, in a word processor, the pointer takes the I-beam shape while it’s over the text and changes to an arrow when it’s over a tools palette. Change the pointer’s shape only to provide information to the user about changes in the pointer’s function. More information on using pointers correctly can be found in “Pointers

移动鼠标而不按下任何鼠标按键将会导致光标跟着移动。屏幕上的光标会根据程序上下文和光标的位置而呈现不同的形状。例如,在字处理程序中,光标在文本位置会呈现 I 字型,在工具栏会呈现箭头形状。光标形状的改变仅仅为了提醒用户光标的功能已经改变。关于正确使用光标的更多信息,请参考“光标”一节。

Just moving the mouse changes only the pointer’s location, and possibly its shape. Pressing the mouse button indicates the intention to do something, and releasing the mouse button completes the action.

“移动”鼠标改变的仅仅是指针的位置,有时也会改变指针的形状。“按住”鼠标按钮意味着打算进行某项操作,“松开”鼠标按钮表示完成该操作。

These guidelines apply to single-button mice and to the primary button of multi-button mice. Note that users can select which button of a multi-button mouse to designate as the primary button in Mouse preferences.


这些准则同时适用于单键鼠标和多键鼠标。应该注意的是,用户可以在键盘和鼠标系统偏好设置中选择哪个按钮作为主按钮。

点击
Clicking

Clicking has two components: pushing down on the mouse button and releasing it without moving the mouse. (If the mouse moves between button down and button up, it’s dragging, not clicking.)

点击由两部分组成:按下鼠标并且原地释放。(如果在鼠标按下和释放之间移动鼠标的话,这是“拖拽”,而不是点击。)

The effect of a click should be immediate and obvious. If the function of the click is to cause an action (such as clicking a button), the selection is made when the button is pressed, and the action takes place when the button is released. For example, if a user presses down the mouse button while the pointer is over an onscreen button, thereby putting the button in a selected state, and then moves the pointer off the button before releasing the mouse button, the onscreen button is not clicked. If the user presses an onscreen button and rolls over another button before releasing the mouse, neither button is clicked.

点击的效果应该是即时且明显的。如果点击的功能是引起一个操作(如点击一个按钮),在鼠标被按下时“做出选择”,在鼠标释放时“执行操作”。例如,当鼠标指针位于一个屏幕上的按钮时,用户按下鼠标,从而使按钮处于被选择状态,然后在鼠标释放前“移开”鼠标,按钮并不会被点击。如果用户在按钮上按下鼠标,并且在释放前移动到别的按钮上,两个按钮都不会被点击。

双击
Double-Clicking

Double-clicking involves a second click that follows immediately after the first click. If the two clicks are close enough to each other in terms of time (as set by the user in Keyboard & Mouse preferences) and location (usually within a couple of points), they constitute a double click.

双击指的是第二次点击要紧随第一次点击之后。如果两次点击在时间上(由用户在键盘和鼠标偏好设置中设定)和位置上(通常在几个像素点之内)足够接近,它们就构成了一次双击。

Double-clicking is most commonly used as a shortcut for other actions, such as pressing Command-O to open a document or dragging to select a word. Because not everyone is physically able to perform a double click, it should never be the only way to perform an action.

双击通常作为其他操作的快捷方式,如按下Command-O来打开文档或者通过拖拽选择一个单词。由于不是每个人都能够进行双击这一动作,所以它决不能成为执行某个操作的唯一途径。

Some applications support triple-clicking. For example, in a word processor, the first click sets the insertion point, the second click selects the whole word, and the third click selects the whole sentence or paragraph. Supporting more than three clicks is inadvisable.

有些程序支持三次点击。例如,在字处理程序中,第一次点击设置插入点,第二次点击选择整个单词,第三次点击选择整个句子或者段落。支持多余三次的点击是不明智的行为。

按住
Pressing and Holding

Pressing means holding down the mouse button while the mouse remains stationary. Pressing by itself should have no more effect than clicking does, except in well-defined areas such as scroll arrows, where it has the same effect as repeated clicking, or in a Dock tile, where it displays a menu. For example, pressing a Finder icon should select the icon but not open it.

按住是指按下鼠标并保持鼠标不动。不像点击,按住本身是不会引起操作的,除非在某些已经明确定义的区域,如滚动箭头区域,按住等同于重复点击,或者Dock图标上,按住会显示一个菜单。例如,在Finder中按住一个图标应该选择这个图标而不是打开它。

拖拽
Dragging

Dragging means pressing the mouse button, moving the mouse to a new position, and releasing the mouse button. The uses of dragging include selecting blocks of text, choosing a menu item, selecting a range of objects, moving an icon from one place to another, and shrinking or expanding an object.

拖拽意味着按下鼠标,然后把鼠标移动到一个新的位置,并释放鼠标。拖拽的用途有选择文字块,选择菜单项,选择多个对象,将图标从一个地方移动到另外一个地方,缩放对象等。

Dragging a graphic object should move the entire object (or a transparent representation of it), not just the object’s outline.

拖拽一个图形对象应该移动整个对象(或者整个半透明层),而不仅仅是对象的轮廓。

Your application can restrict an object from being moved past certain boundaries, such as the edge of a window. If the user drags an object and releases the mouse button outside the boundary, the object stays in the original location. If the user drags the item out of the boundary and then back in before releasing the mouse button, the object moves to the new location. Your application can also automatically scroll a document if the user moves an object beyond the boundary of a window (see “Automatic Scrolling”).

您的程序可以限制对象移动时的边界,如窗口边框。如果用户将对象拖拽过边界并松开鼠标,对象会停留在原来的位置。如果用户将对象拖拽过边界,然后在松开鼠标前又拖拽回来,对象会移动到松开鼠标的位置。如果用户拖拽的对象超过窗口边框时,您的程序可以自动滚动文档(请参考“自动滚动”一节)。

If the user drags a proxy object to an area that would cause that proxy object to disappear, display the poof to indicate that the proxy object will disappear if dragged to that location.

如果用户将一个代理对象拖拽到了一个可能会导致该代理对象消失的区域,程序应该显示消失光标以表示如果代理对象被拖拽到该位置将会消失。

If the user selects an item and begins a drag but releases the item after having moved it three or fewer pixels, the item does not move.

如果用户仅仅将一个对象拖拽了三个或者更少的像素,该对象并不会移动。

See “Drag and Drop” for more information about dragging and automatic scrolling.

关于拖拽和自动滚动的更多信息请参考“拖拽”一节。

个人工具
名字空间
变换
动作
导航
工具箱