widgets -- The DWT widget set and supporting classes
widgets —DWT小部件集合和支持类
Lee: Eclipse is much more than just a GUI widget set.
eclipse远不止是一个GUIwidget集。
Becky Gibson: My focus is the accessibility of the core widget set.
BeckyGibson:我的工作重点是核心小部件集的可访问性。
WDTJ: Becky, can you describe an ARIA technique you employed in the core widget set?
WDTJ:Becky,您能介绍一下核心小部件集采用的ARIA技术吗?
Dojo is the first open source toolkit to be able to claim accessibility of its core widget set.
Dojo是第一个能够为其核心小部件集提供可访问性的开源工具包。
Without getting too deeply into the details of the GWT widget set, this code creates a button and a label.
这段代码将不会过多地深入GWT部件集的细节,而是创建按钮和标签。
We're using ARIA techniques to make the core widget set fully accessible to low vision, keyboard only, and assistive technology users.
我们使用ARIA技术来向视力较弱、仅能使用键盘和辅助技术的用户提供核心小部件集的完全访问功能。
Users can browse the widgets by popularity or topic and then use an automated installer to get the widget set up on their blog or social network profile.
使用者可以通过人气或是主题来浏览这些插件,然后使用自动安装将他们需要的插件安装在他们的博客和个人社会网业上。
In addition, the widgets at Ext GWT 2.0.1 are also available for use, and can be dragged from palettes that help organise and categorise the Ext GWT widget set.
除此之外,用户还可以使用ExtGWT2.0.1的widget,只需从面板中进行拖拽就能使用了,以此组织和划分Ext GWT widget。
The SWT (Standard Widget Toolkit) is a portable GUI widget set, and one of the really nice things about that is that it has the platform’s native look and feel, which is very important for most users.
SWT(StandardWidgetToolkit)是一种可移植的GUI widget集,其中一个真正好的方面是它具有平台本地的感观,这对于大多数用户来说是非常重要的。
If you, like us, find that your application requires a great deal of manual coding, we suggest you create your own set of widget classes to simplify the code you write.
如果您像我们一样发现某些应用程序需要大量手工编码,那么我们建议您创建自己的窗口小部件类集合,以简化编写的代码。
Regardless of what the widget is, its definition requires a consistent set of information.
不管这个小部件是什么,其定义都需要一组连贯的信息。
For instance, a widget implementer can create in this method the widget mark-up and set it into the widget DOM node.
比如,一个小部件实现者可以用这种方法创建小部件标记并将其设置到小部件DOM节点。
Companies are able to set their search results as the default widget in the sidebar, though users are still free to customize the widget with their favorite sites after installation.
公司可以将他们的搜索结果在侧边栏的小工具中设置为默认,不过用户安装之后仍然可以自由定制小工具来使用他们喜欢的站点。
For this we use a set of register functions for each type of widget: buttons, labels, and so on.
为此,我们为每一类型控件使用了一组注册函数:按钮、标签等等。
You can use some of the core widgets as UI controls, such as the menu widget, tabs set, tree widget, and more.
可以使用其中一些核心小部件作为UI控件,比如菜单小部件、选项卡集、树小部件等等。
Additionally, many organisations use widgets to directly commercialise syndicated services; you can set up a widget to require a license key before it functions.
此外,很多组织将小部件用于直接商品化联合服务,可以将小部件设置为在工作前必须提供许可证密钥。
The property name identifies the widget property name where the value to set is stored.
属性名称标识包含将要设置的值的小部件属性名。
The Box widget has its own set of properties.
这个Box小部件具有自己的一组属性。
DojoAttachPoint: This tag attribute, if specified, must be set to a widget property name.
dojoAttachPoint:如果指定,这个标记属性必须被设置为一个小部件属性名。
In line 38, a new listitem widget is created with its label value and id set for each stock item, and is appended to the listbox as its children widgets.
第38行,使用其标签值和ID集合为每个股票项创建一个新的listitem小部件,并附加到listbox上作为它的子部件。
You must get at the underlying SWT Shell widget and set its title.
必须获取底层SWTShell窗口小部件并设置其标题。
Each widget or gadget offers a set of limited functionality in some area.
每个widget或gadget都可以提供某个领域内的一组有限功能。
To store this widget, create a table called student with fields corresponding to the set of information identified in the list above.
为了存储这个小部件,创建一个表,名为student,内含与如上所列这组信息相对应的字段。
While the Editor2 widget in the Dojo Toolkit offers a rich and extensible set of plugins for a rich text editor, there were some small changes required for the purposes of this sample.
DojoToolkit中的Editor 2部件针对富文本编辑器提供了丰富的可扩展插件集,为了实现本文的演示目的,需要做一些细微的改动。
In the compact rendering set, notice that the Drop-down (selection) widget, rather than the Link widget, is used in default rendering for selection lists.
在compact赋值设置之中,您会注意到下拉(选择)工具,而不是Link工具,会在选择列表的默认赋值中使用。
To work around this limitation, I created a dummy child TreeItem widget and set it to be invisible (lines 39, 40).
为了解决这个问题,我创建了一个假的子TreeItem部件并把它设置为不可见(第 39、40行)。
Widget: a widget is a portable set of code that can be installed and executed within the HTML-based Web page without compilation.
小部件:小部件是一组可移植代码,可以在基于HTML的web页面中安装和执行它们,不需要编译。
postMixInProperties: This method is called after all the widget parameters have been set (mixed in) as widget instance properties.
postMixInProperties:这个方法会在所有小部件参数均被设置(混合入)为小部件实例属性后调用。
Tip: You can also edit the height item set value to adjust the total height consumed by the widget in Lotus Connections to avoid vertical scrollbars.
技巧:您还可以编辑height设置的值,通过调整小部件在LotusConnections的高度避免出现垂直滚动条。
应用推荐