Test button: used for testing the application in "unplugged" mode (UIButton class).
Test按钮:用于在“为插接”模式下测试应用程序(uibutton类)。
To define an event using the Managed Extensions, you use the __event keyword. For example, the Button class in Windows: : Forms has a Click event.
为了用托管扩展定义一个事件,你得用__event关键字。
To demonstrate this code, let's start with a class for observing button clicks that simply counts the number of clicks.
要演示这部分代码,让我们从一个观察按钮点击和记录点击数目的类开始。
Looking back at Listing 3, notice that this links to another page called New. Also notice that the class on this link is button flip.
回到清单3,注意到这个链接连接到另一个名为new的页面,也注意一下这链接上的类是按钮翻转。
To add an attribute, click the add button in the Properties view and enter the attribute Name and Class, as shown in Figure 7.
要添加属性,可以点击Properties视图中的Add按钮并输入属性Name和Class,如图7所示。
The SimpleGWTApp class then defines a textbox and button, which you can use to input someone's name and send them a greeting (see Listing 10).
SimpleGWTApp类随后定义一个文本框和按钮,可以使用它们输入某人的名字并发送一句问候语(参见清单 10)。
You also highlight the active button in these functions by adding and removing the btnActive CSS class, which changes the border color to white.
通过添加和删除btnActiveCSS类还突出了这些函数内的活动按钮,这可以将边界颜色更改为白色。
When you click the Open button, the Desktop class invokes the system's default PDF viewer, as you can see in the following code.
在单击open按钮时,Desktop类将调用系统默认的PDF阅读器,就像在下面的代码中可以看到的那样。
Now, to select the base class, click the Add button, and select LibraryEntry from the dialog box.
现在,可以选择这个基类,点击add按钮,然后从对话框中选择LibraryEntry。
Clicking the "add" button will cause the controller class to be created and added to the project.
点击“添加”按钮会生成一个控制器类,并将它加到项目中去。
IconClass: icon CSS class displays the specified icon on the button.
iconClass:图标css类在按钮上显示指定的图标。
The last thing to notice about the form in Listing 6 is the submit button. Notice that its class is submit.
最后一点值得注意的是,清单6中的表单是submit按钮,注意它的类是submit。
Use the Browse button to select the mediation handler class.
使用Browse按钮选择中介处理程序类。
You can create a new submit button on a form and link the button to a method on your Page class using the declaration shown in Listing 2.
可以在表单上创建新的提交按钮并把它链接到page类中的一个方法,使用的声明见清单2。
Tip: If you don't want to type in the full class name, you can use the Browse button to locate it.
提示:如果您不想输入完整的类名称,您可以使用Browse按钮来定位它。
The RunMailRules class contains a run() method; this is where your code gets called when the button is clicked.
RunMailRules类包含一个run()方法;这就是单击按钮时调用代码的地方。
The controller class is where you define handlers for Swing events (such as button clicks and text-field changes) and control the state of the model.
在控制器类中,可以定义Swing事件(例如单击按钮或更改文本字段)的处理程序,并控制模型的状态。
Finally, you can diagram the relationship between the classes by clicking on the Association button (fifth from the left) and drawing a line from the Person class to the Address class.
最后,您可以单击association按钮(左起第五个),绘制一条从person类指向address类的线段,从而绘制这两个类之间的关系图。
When the user clicks the Acronym Expander button, the run method of the preceding class is invoked.
当用户单击Acronym Expander按钮时,将调用前述类中的run方法。
Either use the browse button to browse to an existing class, or manually enter a valid class name in the text box.
使用Browse按钮浏览现有的类,或在文本框中手工输入有效的类名。
Click the Add button and select this class from the list provided. Configure the initial parameters for this handler as follows.
单击add按钮,然后从弹出的列表中选择这个类。
In the Create new bean dialog of the AAT, if you select the home interface using the Browse button, the remote interface and the bean class are automatically filled in.
在AAT的Createnewbean对话框中,如果您使用Browse按钮选择了本地接口,就会自动填充远程接口和bean类。
Click the add External JARs button and navigate to the Notes.jar file to add it to the class path.
单击addExternalJARs按钮,导航到Notes . jar文件,以将其添加到类路径中。
You'll also notice further down the code that you set the Post button to class this function when the click event is fired.
继续往下看该代码的时候,您还会发现您将Post按钮设置为在触发click事件时调用该函数。
One button is connected to the log_timestamp method; the other to the close method of the QWidget class.
一个按钮连接到了log_timestamp方法;另一个连接到了QWidget类的close方法。
Click the Browse button next to the Servlet class field to change the value of this attribute.
单击servletclass字段旁边的Browse按钮,修改此属性的值。
Enter com.ibm.poc.pzn.UserInfo for Specify the full translator class name, then click the Add/Change button (Figure 47).
为Specifythefulltranslatorclassname输入 com.ibm.poc.pzn.UserInfo ,然后单击Add/Change按钮(图47)。
Here, the ActionListener implementation is defined in place, as an anonymous inner class, and directly attached to the button.
这里,ActionListener实现是适时定义的,它定义为一个匿名内部类,并直接附加到按钮上。
There are four properties listed, two of which are crucial to defining the correct button: the class and the accessibleContext.accessibleName properties (see Figure 2.)
这里列出了四个属性,其中两个对定义正确的按钮是至关重要的:class和 accessibleContext.accessibleName 属性(参见图 2)。
The ButtonWithCallbacks class represents a button on a graphical user interface.
类ButtonWithCallbacks表示了图形用户界面上的一个按钮。
应用推荐