You use the GWT button widget to create three buttons, and then you add them to the panel.
您使用了GWTButton小部件来创建三个按钮,然后将其添加到面板中。
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小部件列表中拖两个按钮到空白画布上,然后双击每个按钮,修改它们的名称。
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小部件即可添加这些按钮。
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元素家族。
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对象,把它注册到一个按钮上。
Because you have already loaded the Dojo Button widget, it can now be referenced in the body of the HTML.
由于您已经装入了DojoButton控件,因此现在可以在HTML的主体中引用它。
Because you have already loaded the Dojo Button widget, it can now be referenced in the body of the HTML.
由于您已经装入了DojoButton控件,因此现在可以在HTML的主体中引用它。
应用推荐