选择一个按钮组件。
The Button widget contains two attributes: text and action.
Button小部件包含2 个属性:text和action。
You create a listener object and register it with a Button widget, for example.
举例,当你创建了一个listener对象,把它注册到一个按钮上。
You use the GWT button widget to create three buttons, and then you add them to the panel.
您使用了GWTButton小部件来创建三个按钮,然后将其添加到面板中。
Because you have already loaded the Dojo Button widget, it can now be referenced in the body of the HTML.
由于您已经装入了DojoButton控件,因此现在可以在HTML的主体中引用它。
The CheckBox widget also covers the RadioButton widget; there is no need to import additional code for a radio button.
CheckBox 小部件还包含 RadioButton 小部件;因此不必为单选按钮导入额外的代码。
Drag two push buttons onto the blank canvas from the button widget list on the left and double click on each to change their name.
从左边的Button小部件列表中拖两个按钮到空白画布上,然后双击每个按钮,修改它们的名称。
Before I dive into coding this simple button widget using RCC, I will go through the basics and the newly-introduced family of RCC elements.
在开始用RCC编写这个简单的按钮部件之前,我将回顾一下基本知识和新推出的RCC元素家族。
We opted for a series of radio buttons, one for each format, and these can be added by dragging the radio button widget from the palette.
我们选择使用一列单选按钮,每个单选按钮代表一种格式。从调色板中拖动RadioButton小部件即可添加这些按钮。
After dragging something into one of these text boxes, you click the button next to it, and that something is turned into a widget.
将某个东西拖放到其中一个文本框中之后,单击旁边的按钮,然后就可以转换成一个小部件。
A function to provide a button to send information to the content list widget as input.
提供一个按钮,将信息发送到内容列表小部件作为输入。
Most examples show only a single button or widget on the screen and don't tackle composite applications with multiple pages.
许多示例展示的仅仅是一个单一的按钮或窗口并没有处理有多个页面的组合应用程序。
Users can change the address and hit the submit button on the HTML form widget.
用户可以改变地址,点击HTML表单小部件上的提交按钮。
Without getting too deeply into the details of the GWT widget set, this code creates a button and a label.
这段代码将不会过多地深入GWT部件集的细节,而是创建按钮和标签。
Just click on the 'search widget' button in the navigation bar and the new option will be obvious in the upper-right-hand corner.
只要在导航条上点击“搜索插件”按钮,新的选项就会在右上角出现。
In this first installment of a gentle introduction to SWT and JFace, I have introduced the most basic SWT widget controls: label, text, button, composite, and shell.
在SWT和JFace系列的第一期中,我们介绍了大多数基本SWT窗口小部件控件:标签、文本、按钮、复合控件和shell。
This widget displays the string "Hello World" and a button as shown in Figure 2.
这个小部件显示字符串 “Hello World”和一个按钮,如图 2 所示。
A list of the deployed applications is shown (see figure 9). Select the application (that is, the widget) that should be uninstalled, and click the uninstall button.
一个已部署应用程序的列表将显示(见图9),选择要卸载的应用程序(即widget)并单击uninstall按钮。
Each button in your Web browser is a widget.
Web浏览器的每个按钮都是一个小部件。
Users can select one item in the role list and click on the Submit button to pass the role to a targeted In-basket widget.
用户可以在角色列表中选择一项,然后单击submit按钮,将角色传递到预定In -basket小部件中。
In this case, the ClickListener is called when your button is clicked and simply toggles the text in the label widget back and forth.
在本例中,当您的按钮被单击时,ClickListener将被调用,并简单地来回切换标签小部件中的文本。
Users can select a role in the ComboBox and click on Submit button to pass the role to the In-basket widget.
用户可以在ComboBox中选择一个角色,单击Submit按钮,将角色传给In - basket小部件。
In the widget description page, click the button Add to your webpage to get to the customization page for the gadget shown on figure 16.
在小部件描述页面,单击按钮addtoyour webpage为图16所示的小部件获取定制页面。
The first widget is a label, the second is a text box where the user enters a search term, and the last widget is a button.
第一个小部件是一个标签,第二个小部件是用户可在其中输入搜索条件的一个文本框,第三个小部件是一个按钮。
In this article, I will introduce the basics of RCC, walk through the implementation of a first user-interface widget (a push-button), and provide a demo of a richer UI application.
本文中将介绍RCC的基础,探讨如何实现一个用户界面部件(按钮),并提供一个更丰富的UI应用程序的演示。
You will revisit the Button setup code later in this article; for now focus on the setup of the WebView control or widget.
本文稍后还会详细介绍Button设置代码,现在将重点放在WebView控件或小部件的设置上。
Finally, you can also implement a widget or plugin like the Tweetmeme button to facilitate the sharing of your content on Twitter by your readers.
最后,你也可以使用一些例如Tweetmeme button这样的小工具或插件,使得你更加方便地分享内容到twitter上给读者们。
Along with the widget id, we can register callbacks or events that fire when events such as a button click occurs.
我们可以与控件id一起来注册当按钮被点击时激发的回调或事件。
After you complete these steps, each row in the table contains a Play button that allows users to listen to the podcast directly from the widget, as shown figure 13.
在完成这些步骤之后,表中的每行都包含一个Play按钮,它允许用户直接从小部件收听podcast,如图13所示。
The example has a button and a line edit widget.
这个例子有一个按钮和一个行编辑组件。
应用推荐