And a sample.ScoreWidget type is created, and the widget is started.
然后,创建一个sample .ScoreWidget类型,启动小部件。
You can implement different content providers based on the widget type.
可以根据部件类型实现不同的内容提供者。
The user story is to produce different marketing labels based on widget type.
用户故事是根据小装饰品的类型生产不同的市场标签。
Of course, normal CSS selector rules apply, and you can exploit them to apply different styles to the same widget type depending on its context.
当然,普通的CSS选择器规则也可以应用,所以可以根据小部件的上下文,用选择器规则在同一小部件上应用不同的样式。
These constraints determine how the actions of this type can be defined and how this type will work as a menu option within the toolbar widget.
这些限制决定了这种类型的动作如何定义,以及这种类型作为工具栏小部件的菜单项如何运行。
We have a similar constructor in all our other widget classes so that we can find and construct any type of widget dynamically.
其他所有窗口小部件中都有相似的构造函数,以便动态查找和构造任何类型的窗口小部件。
For this we use a set of register functions for each type of widget: buttons, labels, and so on.
为此,我们为每一类型控件使用了一组注册函数:按钮、标签等等。
Now whenever an idea hits, I pop up the widget, type, and submit - done.
如今每当一个想法袭来,我就打开这个小仪表,打字然后提交-成了。
This is followed by notification of event occurrence to all listeners of the widget registered for that same event type and in the order in which the listeners were registered on widget.
然后发生该事件的通知会发送给控件中为该事件类型注册的所有监听器,发送顺序是这些监听器在控件上的注册顺序。
Each element represents a type of widget that will be placed into a cell at runtime.
每个元素都表示一种类型的界面部件,其在运行时会被放置到一个单元格中。
You need to implement a toolbar action widget to provide the customized action type of a toolbar widget.
首先需要实现工具栏动作小部件以提供工具栏小部件的自定义动作类型。
You'll see this type of design in widget plug-ins as well, as they take your seemingly simple HTML markup and turn it into whatever widget the plug-in is designed for.
您还将在小部件插件中看到这种类型的设计,因为它将简单的HTML 代码转变成适用于插件的小部件。
This article describes how you can build a custom widget that makes it easy to use these relational update feeds for the second type of scenario listed above.
本文将介绍如何构建一个自定义小部件,可在上述第二种场景中轻松使用这些更新数据源。
Type the new title of the widget.
键入小部件的新标题。
WebSphere Integration Developer selects the best-fitting Dojo widget for each field of the business object, depending on data type.
WebSphereIntegrationDeveloper为业务对象的每个字段选择最适合的Dojo小部件,具体取决于数据类型。
Most of the methods in this class simply describe various aspects of the aggregation, such as data type, title, and description information, to show up in the BIRT Aggregation widget drop-down list.
此类中的大部分方法只是简单描述要在BIRTAggregation Widgets下拉列表中显示的聚合的各个方面,比如数据类型、标题和描述信息。
Now, when an event of type t1 occurs on that widget, first Filter 1 is informed of the event occurrence, followed by Listener 1, then Listener 2.
现在,当这个控件上产生一个t1类型的事件时,第一个接收到发生该事件的通知的是Filter1,然后是Listener 1,最后是Listener2。
It then associates the TreeItem widget and event type with the callback instance so that it knows how to proceed after the data for the RESTful Web service is returned.
然后,把TreeIte m部件和事件类型与这个回调实例关联起来,让它知道在RESTfulWeb服务返回数据之后如何处理数据。
The type sample.ScoreWidget is the custom dojo widget used for subscription and display purposes.
该类型的sample . ScoreWidget是定制的dojo小部件,用作订阅和显示用途。
For each unique type of widget manufactured by WidgetCo, the it department's programmers write a class that implements the widget interface.
对于通过WidgetCo生产的每一种独特类型的部件,IT部门的编程人员编写了实现Widget接口的类。
Each widget is a div element of class type widget, which has a header (widget-head) and content area (widget-content).
每个小部件都是类类型为widget的一个div元素,具有头部(widget -head)和内容区(widget - content)。
As the Line Edit widget is interactive - by default, the user can type into it - we want to disable this feature and only use the widget to display the source location of the file we want to convert.
由于LineEdit小部件是交互式的——即默认情况下,用户可以在里面输入内容——我们想禁用这项功能,而只使用它来显示我们要转换文件的源位置。
The VBox widget used in this example is a type of layout widget that stacks its children vertically.
在这个示例中使用的VBox部件是一种布局部件,它垂直地排列子部件。
Creating a widget requires three attributes: a name, a type, and a definition. The form to create a widget is shown in Figure 1.
创建一个小部件需要三个属性:名称、类型和定义。
For example, say a Listener 1 is first registered on a widget for event type t1 followed by a Listener 2 for the same event type t1.
例如,假设Listener1是在某个控件上为t1类型的事件注册的第一个监听器,而Listener2是在这个控件上为相同的t1类型的事件注册的第二个监听器。
XForms implementations are allowed (though not required) to take advantage of knowledge about the expected type of the data to present a different widget for the same control.
XForms实现允许(尽管不要求)利用预期数据类型的信息以不同部件表示同一个控件。
A combo box enables the user to type in a field, and at the same time chose a predefined value from a list. The combo box is a widget combined by.
复合框允许用户在字段中键入值,同时也可以从列表中选择预先定义的值。
Select the Web page by URL option, and then type the address of the Web page from which you are going to create the Notes widget.
选择Webpageby URL,输入要创建Notes widget的网页地址。
Select the Web page by URL option, and then type the address of the Web page from which you are going to create the Notes widget.
选择Webpageby URL,输入要创建Notes widget的网页地址。
应用推荐