Once again, we override the click method.
再一次,我们重写了click方法。
The overridden click method increments count.
被重写的click方法会增加count。
Only the button's label field and click method remain.
只有按钮的label字段和click方法被保留了下来。
The click method iterates through the list of callbacks and invokes each one.
方法click会遍历回调函数的列表,然后一个个地调用它们。
The click method now only CARES about the visual appearance of a "physical" button being clicked.
这个click方法现在只关心一个“物理上的”按钮被单击时候的可见表现。
Under the hood, the click-and-drag process starts with an onclick method of the target object.
在内部,点击-拖动过程从目标对象的一个onclick方法开始。
Since the new click method overrides Button's concrete implementation, the override keyword is required.
因为新的click方法重写了Button的具体实现,必须加上override关键字。
Therefore, you can use the GuiTestObject click method, in conjunction with the index, to click any particular button.
因此,您可以与索引结合,使用 GuiTestObject方法点击任何特殊按钮。
You can also select multiple files or folders and pass a list of files to a script with the same right-click method.
还可以选择多个文件或者文件夹,并采用相同的右击方法,将文件清单传递给脚本。
In fact, super will be bound when this trait is mixed into an instance that defines a concrete click method, such as Button.
实际上,super会在这个trait混入一个定义了具体click方法的实例的时候被绑定。
The primary constructor takes a label argument and a list of callbacks that are invoked when the button's click method is invoked.
主构造函数接受一个label(标签)参数和一个callbacks(回调)的list(列表),这些回调函数会在按钮的click方法被调用时被调用。
It then overrides the click method with an implementation that looks almost the same as the overridden method shown in the section called "Traits as Mixins".
然后它重写了click方法,像在“混合Traits”章节重写的方法几乎一样的实现。
However, often times the click method should be called instead, since it will also be thrown as an event, and it is more in line with expected behavior and is less error prone.
然而,更多时候,却应该调用click方法,因为此方法也会作为事件抛出,而且它更符合预期的行为,更不容易出错。
Notice that the test automation simulates a button click by directly invoking the button control's associated method rather than by firing an event.
请注意,测试自动化是通过直接调用按钮控件的相关方法模拟按钮单击的,而不是通过触发事件模拟。
To fold a method, click the - icon on the left ruler.
要折叠一个方法,请单击左侧标尺中的-图标。
Click inside the method block so that the TDT context will be aligned.
在方法块中单击,以便TDT上下文的排列。
When you fold code, the - icon turns into a +, which you can click again to unfold the method.
在折叠代码后,-图标将变为+,您可以再次单击+以展开方法。
By coupling a simple click-to-apply method for interim fixes with an automatic snapshot process, applying these fixes with the appliance is both simple and safe.
通过对临时补丁使用一种简单的“单击并应用”的方法并与一个自动快照流程结合起来,使用设备应用这些补丁将变得简单又安全。
So the UI test automation will not catch the logic error if the application has the wrong method wired to a button click event (although every test would fail and you'd find the problem quickly).
所以如果应用程序为按钮单击事件关联了错误的方法,UI测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
The purpose of Apache Click is to provide a method of building Web applications without using JSPs or MVC frameworks, which can be heavy-handed for some Web applications.
ApacheClick的目标是提供一种无须使用JSP或MVC框架的构建Web应用程序的方法,这可以简化 Web 应用程序的开发。
The component and event model in Apache Click provides a method of building HTML controls and handling events that has a low learning curve.
ApacheClick中的组件和事件模型提供了一种构建HTML控件和处理事件的方法,非常容易掌握。
Select "Method-level testing" and click Next.
选择“Method - level testing ”并单击Next。
Listing 11: Method to click any button in the Action Bar applet.
列表11:在ActionBarapplet中点击任何按钮的方法。
In the Container transaction type, select RequiresNew, select send method and click Finish.
在Containertransactiontype中选择RequiresNew,选择send方法并单击Finish。
The increase method adds one to count, and decrease subtracts one from count. Click increase and change it to
increase方法将count加 1,decrease从 count 中减 1。
Select the show method under SimpleBean and click Finish, as shown in Figure 15.
在SimpleBean下选择show方法,点击Finish,如图15所示。
Click on the create method, and then click the Invoke button on the right side of the page.
单击create方法,然后单击页面右侧的Invoke按钮。
The start method is called after you click the mouse button, and the end method is called after you release the button.
单击鼠标按钮后,调用start方法,释放鼠标按钮后,调用end方法。
Loosely speaking, since our anonymous class doesn't define click itself, the method lookup proceeds right to left, as declared.
大概地讲,因为我们的匿名类没有定义自己的click,所以这个方法会按照声明从右到左开始寻找。
It defines a single, abstract method, click.
它定义了一个单独的抽象的方法,click。
应用推荐