Figure 5 shows a combo box widget.
图5显示了一个复合框小部件。
So, how do you define widget tests?
那么,怎样定义小部件测试呢?
The widget specific HTML template file.
小部件特有的HTML模板文件。
In this widget, I am doing a few things.
在这个小部件中,我正在做几件事情。
Listing 18 shows the related widget template.
清单18给出了相关的小部件模板。
The step completion widget saves the work item.
步骤完成小部件保存工作项目。
Templates can contain other widget declarations.
模板可以包含其他的小部件声明。
Register the widget in the global widget registry
在全局小部件注册表中注册这个小部件
This widget supports view mode, but not edit mode.
此小部件支持查看模式,但不支持编辑模式。
Defines the events that this widget should publish.
定义小部件应该发布的事件。
Identifies the category to which this widget belongs.
标识此小部件所属的类别。
Listing 4 shows attributes of the sample action widget.
清单4显示的是动作小部件样例的属性。
Define the events that the step completion widget USES.
定义步骤完成小部件使用的事件。
This file contains the implementation of your widget object.
该文件包含小部件对象的实现。
You can define other threads by configuring the report widget.
您可以配置报告小部件来定义其他线程。
Base-widget-template.html: The base widget template HTML file.
base -widget -template .html:基本小部件模板html文件。
Implementing the widget-specific template and the widget class.
实现特定于小部件的模板和小部件类。
Both the text widget and the entry widget implement this interface.
文本窗口小部件和条目窗口小部件都实现了这个接口。
The sample HTML form widget described in this article is a lightweight widget.
本文中描述的HTML表单小部件示例就是一个轻量级小部件。
Widget properties can be remapped to user-defined nodes of the widget template.
小部件属性可以被重新映射到小部件模板的用户定义节点。
In the widget, click the action menu on the widget title bar, and then click Edit.
在小部件中,单击小部件标题栏中的动作菜单,然后单击编辑。
One key feature of the sample HTML form widget is that you can wire data into the widget.
HTML表单小部件示例的一个关键特性是可以将数据捆绑到小部件中。
This article considers only two widget types: an editable text widget and an image widget.
本文只考虑两种小部件:一种是可编辑的文本小部件,另一种是图像小部件。
Lastly, the widget definition file also specifies the widget layout for view and edit modes.
最后,小部件的定义文件还指定了小部件视图和编辑模式的布局。
Each widget must be assigned a unique name or key used by SLIK to identify a specific widget.
每个控件必须分配一个唯一的名字或者键,SLIK用它来识别具体的控件。
To create a widget, you must import the widget declaration by adding the lines from Listing 3.
为了创建一个小部件,必须通过添加清单3所示的代码行来导入这个小部件声明。
We call many of these methods in our widget classes, making our widget classes even more powerful.
我们在窗口小部件类中调用了其中多种方法,使窗口小部件类功能更加强大。
The ECM step completion widget sends the work item information to the custom step completion widget.
ECM步骤完成小部件将工作项目信息发送到自定义步骤完成小部件。
Implementers are in charge of managing the whole widget lifecycle, including the widget destruction.
实现者负责管理小部件的整个生命周期,包括小部件的销毁。
The insurance approval widget can leverage the functions that the ECM step completion widget provides.
保险审批小部件能够利用ECM步骤完成小部件提供的功能。
应用推荐