为每个按钮组件选择相应的方法。
请注意图2中按钮组件的渐变背景。
Notice the gradient backing of the button components in Figure 2.
选择一个按钮组件。
添加一个ID属性从而取代如列表4所示的每个按钮组件的内容。
Add an id attribute and replace the content of each button component as shown in Listing 4.
单击gui的按钮组件后,直接从数据库中检索某个特定命令的状态,如清单2所示。
When the GUI's button component is clicked, a particular order's status is retrieved directly from the database, as shown in Listing 2.
我们将在按钮组件中添加错误消息,这允许我们在以后拖放错误组件并将它与按钮组件相关联。
We will add the error message to the button component, enabling us to drag an error component later and associate it with the button component.
您需要将每一个操作分配给相应的按钮视图组件。
You need to assign each action to the relative button view component.
该组件为用户提供一个具有可配置文本的按钮。
This component presents a button to the user with configurable text.
但是在那些状态会改变的组件中(例如按钮),可以为每种状态定义完全不同的外观。
But in a component whose state will change — a button, for example — you can define a completely different look for every state.
该组件是一个按钮,通过它可以选择文件。
像对话框、命令按钮,以及标签这样的组件都有相关联的一些信息称作属性。
Components such as dialog boxes, command buttons, and labels have associated pieces of information called properties.
当单击这个按钮时,将切换到潜在客户应用程序,同时组件调用UI创建新的潜在客户并使用可用信息进行填充。
When you click the button, context switches to the sales lead application, and the component invokes the UI for creating a new sales lead and populates it with the available information.
因此,按钮等其他组件也可以访问它。
This is so other components like the button have access to it.
对于UI,动作指定了选择模型的某个特殊组件、提交或动作按钮后发生的动作。
In terms of the UI, it is the actions that specify what happens at the selection of a particular component of the model, submission, or action button.
图1显示了演示应用程序的一个面板,其中包括几种常用组件类型,如输入域、单选按钮、复选框和按钮。
Figure 1 shows one panel of the demonstration application, containing several common component types such as entry fields, radio buttons, check boxes, and buttons.
JSpinner组件,它让用户使用箭头按钮在列表中滚动,从一个有序的列表中进行选择。
A JSpinner component that lets the user select from an ordered list using arrow buttons to scroll through the list.
在只读模式下单击Info按钮将显示弹出式组件(参见图2)展示更多信息。
When in read-only mode, clicking the Info button brings up pop-up components (see figure 2) that show more information.
XDIME聚合器使用多个图像组件来显示从Header徽标到工具按钮的各种图标。
The XDIME aggregator uses several image components to display various icons from the header logo to tools buttons.
选择所有组件(默认值)并单击Next按钮。
一方面,开发者用标记语言(Flex用的标记语言是XML)来描述程序中的各种按钮、控件……以此完成用户界面组件的布局工作。
On the one prong, developers lay out the user interface components in a markup language (XML in Flex) that describes the various buttons, controls, and what-not involved in the application.
该组件是一个按钮,通过它可以选择LotusNotes数据库。
This component is a button to let you select a Lotus Notes database.
对于每个受支持的操作,要求操作员在test组件中填充值,然后单击Set按钮。
For each supported action, ask the operator to fill in values in the test component, and then click the Set button.
版本的另一个改进是,使用连接视图中的“Disablestricttypechecking”按钮能够将组件连接在一起,从而减轻输入检查的负担。
Another enhancement in version 8.0.1 is the ability to relax the type checking by wiring components together using the "Disable strict type checking" button in the wiring view.
TestNG - Abbot的当前版本支持七种fixture类型,其中一种类型用于操作按钮、菜单标签以及文本项组件,如文本字段。
The current release of TestNG-Abbot supports seven fixture types, including ones for manipulating buttons, menus, labels, and text-entry components, like text fields.
在下面的例子中,按钮的间隔尺寸会根据滚动条组件的值的变化而变化。
In the following example, the size of the insets of the button will be changed according to the value of the slider component.
然后单击“SelectRequired”按钮以获取所有其他所需组件,并单击Next进行安装(参见图7)。
Then click the Select required button to get all other required components, and click Next to install (see figure 7).
Slider是一个组件,用于通过拖动按钮进行值的选择。
The Slider is a component that allows the selection of a value by dragging a button.
事实上,ActionBarapplet比我之前所介绍的复杂的多,因为它由各种各样与对立按钮不匹配的组件面板组成。
In fact, the Action Bar applet is even more complex than I suggested previously, because it is composed of several component panels, none of which, unfortunately, matches the individual buttons.
当用户单击add按钮时,会通过AlertConfig组件发送数据并添加到配置中。
When user clicks the add button, the data is sent through to the Alert config component and added to the configuration.
单击Info按钮将显示包含更多信息的弹出式组件(参见图2)。
Clicking the info buttons brings up pop-up components containing more information (see figure 2).
应用推荐