这段代码使用和前面一样的参数:一个目标对象和一组鼠标处理程序。
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 drag handling, however, must be running in the document object, because you want to get all mouse-move events, not just those that might happen with the cursor over the target object.
如果将鼠标移动到该对象的右侧,鼠标指针将改变,表示您可以单击以连接该元素。
If you move the mouse to the right side of the object, the mouse pointer changes, indicating that you can click to connect the element.
前者是当鼠标移动到一个新的元素上时发生,而后者是当鼠标移出绑定对象时发生。
The former occurs when the mouse is moved onto a new element. The latter fires only if the mouse is moved out of the boundaries of an object.
当鼠标指针下的对象是一个表示CMIS知识库,或者CM IS文件夹的节点,它就返回true;否则,就返回false。
It answers true when the object below the mouse pointer is a node representing a CMIS repository or a CMIS folder; otherwise, it answers false.
该函数做很多位置整理(position -munging)工作,但都可归结为一个简单的思想:不断保存鼠标光标与目标对象之间的精确的距离。
This function does a good bit of position-munging, but it all boils down to a simple idea: Keep constant the precise distance between the mouse cursor and the target object.
install_mouse_handlers()函数负责向特定的对象添加特定的鼠标处理程序。
The install_mouse_handlers() function adds the specified mouse handlers to the specified object.
第一步是使用鼠标选择一个对象。
A first step is to select an object with the mouse. The Java 3D picking classes help you to do this, you can use them in the following way
Ctrl +拖动文本或对象创建文本或对象的一个拷贝抱歉,这里用到了鼠标,这破坏了快捷键的纯粹性,但是我要说,当你需要拷贝一个对象并控制其去向的时候,这是一个很有用的操作。
Ctrl + drag text or an object Creates a copy of the text or object. Apologies to the keyboard purists, but this useful trick does require mouse action.
如果您将鼠标移过了某个对象,您仍然可以单击以选择该对象。
If you move the mouse over an object, you can still click to select it.
将鼠标移到您想要对象位于图表位置的地方。
Move the mouse to the location where you want the object on the diagram.
目前为止的例子都是使用缺省形状拣选对象:可以假想是一根从观察者眼睛的位置经过鼠标点至无穷远处的射线。
So far the examples have picked objects using the default shape: an imaginary ray going from the viewer's eye position through the mouse pointer into infinity.
既然已经连接了所有流行的浏览器中的鼠标事件,对象构造方法已经完整了,可以返回到对象原型了。
Now that you have hooked cursor events in all popular browsers, your object constructor is complete and you can return to the object prototype.
它们仅仅创建一个简单的计时器事件对象,其中只包含一种事件类型 ——timeout或者timetick,并将它传递给处理鼠标事件的同一个 handleEvent方法。
They create a trivial timer event object that contains only an event type -- either timeout or timetick -- and pass it to the same handleEvent method that handles cursor events.
欧米茄的3d鼠标为用户提供了力反馈,同时与屏幕上的对象进行交互。
Omega's 3d mouse gives users force feedback while interacting with on-screen objects.
当你正在使用选框工具或自由变换,按住组合键opt + Shift的同时再用鼠标拖动可以从中心按比例对对象进行按比例缩放。
When you are using the Marquee tools or Free Transform, hold down Opt + Shift + drag will scale proportionally from the center.
指定在运行时刻,当鼠标位于对象的某一特定部分时,用作自定义鼠标指针的光标文件。
Specifies the cursor file as a customized mouse pointer when the mouse is over a particular part of an object at run time.
如果鼠标按键是在两个对象之间单击,而不是在任何一个特定对象上,就有一种特殊的含义。
If the mouse button is clicked in an area between objects, rather than on any specific object, it has a special meaning.
在用户最后释放鼠标按键后,当前的拖放候选对象就成为目标对象。
After a user finally releases the mouse button, the current drop candidate becomes the target.
若要缩短播放鼠标移动所需的时间,请将鼠标指针移到“鼠标”对象的左边缘,直到调整指针出现为止。
To shorten the amount of time it takes for the mouse movement to play, move the mouse pointer over the left edge of the mouse object until the resize pointer appears.
鼠标移动包含在名为“鼠标”的时间轴对象中。
Mouse movement is contained in a Timeline object named Mouse.
您创建的图层上单击鼠标右键,选择转换为智能对象。
Right-click on the layer that you created and select Convert to Smart Object.
指定在运行时,鼠标位于一个对象特定部分上时鼠标指针的形状。
Specifies the shape of the mouse pointer when the mouse is over a particular part of an object at run time.
在小酒馆星,你用鼠标在屏幕上交换的两个对象的位置。
In Bistro Stars, you use your mouse to swap the location of two objects on the screen.
根据程序的状态,鼠标按下事件,应该开始绘制一条直线,或者选中一个对象。
Depending on the state of the program, a mouse down might start drawing a line, or it might select an object.
应用程序的“事件循环”会给这个聚焦的对象发送键盘键盘动作、鼠标事件和菜单选择等行为。
The application's "event loop" will send keyboard actions, mouse events and menu selections to this focus object.
在拖动期间,如果用户认为需要更精确的调整,可以改变鼠标移动与显示屏上对象移动的相对比值。
During a drag, if a user decides that he needs more precise maneuvering, he can change the ratio of the mouse's movement to the object's movement on the screen.
在游标模式时,鼠标每移动10个像素,对象会移动1个像素。
In vernier mode, every 10 pixels of mouse movement will be interpreted as a single pixel of object movement.
今天,鼠标右键担负了重要而又极其有用的角色。例如支持直接访问属性,和其他情境中针对对象和功能相关的操作。
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.
应用推荐