一个简单的注册表编辑工具使用常见的按钮对象,没有树视图。
A simple registry editing utility using common button objects, no tree view.
下一步,我们将在这个主窗口中创建标签和按钮对象,作为主窗口的子部件。
Next, we've created Label and Button objects as child widgets inside the MainWindow.
这就是需要做的全部工作,现在单击按钮时,eco会自动地将对象存入数据库。
That's all that's necessary: ECO will now automatically store the objects in the database when the button is clicked.
基本规则是:如果允许别人单击链接,就必须在浏览器历史中增加一个对象,以便后退按钮能够正常工作。
The basic rule is: if you allow someone to click on a link, you have to add an object to the browser history so the Back button will work as expected.
区别是数据池按钮将基于当前在编辑器中选择的业务对象类型过滤结果,而数据池图标将不进行任何过滤。
The difference is that the Data Pool button will filter the results based on the business object type that is currently selected in the editor and icon will have an empty filter.
单击运行按钮之前,检查同步表并注意以“_ MEASURES”结束的表对象的名称。
Before clicking the run button, check the synchronization TAB and note the name of any table objects ending with "_measures".
用户键入应该显示的数据对象的ID,并单击提交按钮。
The user types an ID for a data object which should be displayed, and clicks the Submit button.
顶部是对各种UI元素的对象引用、要发送的消息的文本字段、发送按钮和消息列表。
At the top are the object references to the various UI elements, the text field for the message to send, the send button, and the message list.
在第2部分中,您创建了视图部件及其对象(如按钮、文本框和表示视图)。
In part 2, you created the view parts and its objects (such as button, text box, and table view).
Button对象表示一个可点击按钮,它会引发一个事件,所以可以在点击时执行某个动作。
A button object represents a clickable button, which raises an event, so you can perform an action upon a click.
举例,当你创建了一个listener对象,把它注册到一个按钮上。
You create a listener object and register it with a Button widget, for example.
为了让事情变得更加简单,我们假设PlaceOrder按钮就是要找的测试对象。
To make things simple, we suppose that the Place Order button is the test object to find.
但是,当用户单击表单上的Login按钮时,页面将使用Ajax . Request对象向服务器请求登录表单。
But, when the user clicks the login button on the form, it USES the Ajax.Request object to request a login with the server.
这些按钮在对象图中注册为GUI测试对象,并且分配了索引以对应于它们在applet中的位置。
The buttons register as GUI test objects in the object Map, and they are assigned indexes that correspond to their positions in the applet.
再次使用上面的例子,您可以通过找到对象附近的位置、文件夹的图片以及特定路径来找到PlaceOrder按钮。
Using the previous example again, you can find the Place Order button by its position near a found object, the picture of the album, and a specific path.
Name旁边提供的Select按钮将显示数据库对象的列表,在本例中为来自所选数据库的表列表。
The select button provided beside Name will show a list of database objects, in this case a list of tables from the selected database.
要撤消一种特权,只需将此特权的下拉列表改为NO,或者点击RevokeAll按钮撤消与此对象相关的所有特权。
To revoke a privilege, change the drop-down list for that privilege to NO, or click the revoke all button to revoke all the privileges associated with that object.
display函数检查历史记录对象的当前状态,并为历史记录按钮生成HTML。
The display function will inspect the current state of the history object and generate HTML for the history buttons.
当使用JSON将数据缓存到客户端时,系统将在用户每次单击addVehicle按钮时更新数据缓存对象。
When you cache data on the client side using JSON, you update the data caching object every time the user clicks on the Add Vehicle button.
使用一个Table对象组织这些提示和提示按钮,并使用Text对象给它们添加标签,如下所示。
Organize and label the prompts and prompt button using a Table object and Text objects as shown below.
因此,您不能像Editorapplet一样简单的使用来自对象图的返回对象以点击某个按钮。
Therefore, you can't simply use the objects returned from the object Map to click a particular button, as you could with the Editor applet.
使用OpenDirectory按钮选择包含以前提取的对象的工作目录。
Use the Open directory button to select the working directory containing the previously extracted objects.
在记录PlaceOrder按钮的点击操作之后,您会得到图3中对象映射的以下层级结构。
After recording the click operation on the Place Order button, you get the following hierarchical structure in the object map that is illustrated by Figure 3.
初始化显示和shell后,可以添加任意数目的现有对象,如菜单栏、表、按钮、网格等。
After you have the display and shell initialized, you can add any number of existing objects such as menu bars, tables, buttons, grids, and so on.
找到PlaceOrder按钮,根据上面生成的测试对象映射给出的层级关系中的暗示进行操作。
Find the Place Order button, guided by the hint of the hierarchical relationship given by the test object map generated just now.
当您点击Getthe articles按钮时,会使用与被选择项目(Rational或者Lotus)相应的URL创建XMLHttpRequest对象。
When you click the Get the articles button, the XMLHttpRequest object is created using a URL that corresponds to the selected topic (Rational or Lotus).
这为您的会话bean创建了本地对象,并且显示了WorkwithObject按钮。
This creates the home object for your session bean and displays a Work with Object button.
可以从request对象中读取所选的单选按钮索引:StringselectedIndex =request.getParameter("iTableLink");。
You can read the selected radio button index from the request object: String selectedIndex = request.getParameter("iTableLink");.
可以首先将一个按钮声明为一个变量,或者直接在其父对象的content属性中定义它。
You can declare a button first as a variable or define it directly in the parent object's content attribute. Listing 9 displays the definition of the Back button
可以首先将一个按钮声明为一个变量,或者直接在其父对象的content属性中定义它。
You can declare a button first as a variable or define it directly in the parent object's content attribute. Listing 9 displays the definition of the Back button
应用推荐