早期的列表控件只能处理文本,这种决策至今仍影响其行为。
Early list controls handled only text. Unfortunately, that decision often affects their behavior to this day.
说明:MF C列表控件的应用,实现简单的数据库的功能。
获取一个值,该值指示列表控件是否包含列表项之间的分隔符。
Gets a value indicating whether the list control contains a separator between items in the list.
毫无疑问,如果使用支持拖放的列表控件,许多程序将从中获益。
Without a doubt, many programs would benefit if they made use of list controls that supported dragging and dropping.
在其他环境中可编辑的项目在列表控件中显示时,也应该能编辑。
Items that are editable in other circumstances should, when displayed in list controls, be editable there as well.
列表控件包含一行接一行没有变化的文本,视觉上就像干燥的沙漠。
A list control filled with line after line of text unrelieved by visual symbols is a dry desert indeed.
您可以创建自定义的虚拟化实现你自己的列表控件,但这似乎更难。
You could create your own list control with custom virtualization implementation, but that seems to be even harder.
Selector视图是带有列表控件的简单视图,提供了可供用户选择的URL。
The Selector view is a simple view with a list control with URLs that the user can select.
有时可接收值的集合是有限的,但是对于列表控件来说数量太大而不实际。
Sometimes the set of acceptable values is finite but too big to be practical for a list control.
如果可接收值列表由文本行组成,应该使用列表控件,这样用户就不必打字了。
If the list of acceptable values is composed of text strings, a list control should be used so users are not forced to type.
列表控件是一个很小的文本区,右侧有一个垂直滚动条(参见图21 - 10)。
List controls are small text areas with a vertical scrollbar on the right-hand edge (see Figure 21-9).
说明:列表控件使用演示,包括静态创建列表控件和使用,动态创建列表控件,多列显示等。
List control using the demo, including static controls and create a list using dynamically created list control, multi-column display.
和单选按钮一样,列表控件是简化交互功能的强大工具,因为它排除了做出错误选择的可能性。
Like radio buttons, list controls are powerful tools for simplifying interaction because they eliminate the possibility of making an invalid selection.
在列表控件中能够将条目从一个位置拖动到另一位置很重要,但它要求实现自动滚屏(参见第19章)。
Being able to drag items from one place to another in a list control is powerful, but it demands that auto-scrolling be implemented (see Chapter 19).
全新的虚拟列表控件与新ui框架配合工作,提供了原虚拟列表的所有相同功能,还增加了异步数据检索事务的使用。
A new virtual list control works with the new UI framework and also offers all the same capability of the prior virtual list with the addition of using asynchronous data retrieval transactions.
总的说来,用户选择列表控件中的项目就像为某个功能提供输入,比如从数种可选字体列表中选择希望的那种字体名。
Generally speaking, users select items in a list control as input to some function, such as selecting the name of a desired font from a list of several available fonts.
第一个版本如清单8所示,展示了一个显示提要列表的控件。
The first version, in Listing 8, displays a control that shows the list of feeds.
在基于列表和树的控件中,开始输入您希望选择的值的名称:一个经筛选的弹出对话框允许快速导航到所需的值。
In list and tree based controls, start typing the name of the value that you want to select: a filtered pop-up dialog allows to quickly navigate to the desired value.
XDIME也支持菜单列表、复选框和单选按钮等控件。
XDIME also supports controls like menu lists, checkboxes, and radio buttons.
比方说,移动电话上的浏览器可能采用不同的技术显示控件;对移动电话用户而言,菜单和列表比弹出式选择框更方便。
A browser running on a cell phone might, for example, use different techniques to display the controls; menus and lists are easier for cell phone users than pop-up choice boxes.
像文本字段、选择列表或者滚动条这样的控件还用于选择特定的值,而不仅仅是触发单个动作。
Controls like text fields, pick lists, or scrollbars are used to select specific values rather than merely trigger single actions.
SWT具有您期望从现代库中获得的所有控件,譬如输入域、列表和按钮。
SWT has all the controls you would expect from a modern library, such as entry fields, lists, and buttons.
这可以是屏幕左边显示为列的内置复合应用程序导航器,也可以是呈现按钮列表及其下拉选项的定制控件。
This could be the built-in composite application navigator that appears as a column to the left of the screen, or it could be a custom control that presents a list of buttons with drop-down options.
然后在属性窗口中选择这个属性时,将看到在页面中的ContextMenu控件的列表。
Then you could go to the Properties window, select the property, and see the list of ContextMenu controls on the page.
为所有不同种类的控件(文本字段、列表框等)创建所需的方法后,会产生巨大的、难处理的SuperHelper。
After you create the methods that you need for all the different kinds of controls (text fields, list boxes, and so on), it makes for a very large and unwieldy Super Helper.
例如,我们用来构建to - do列表应用程序的控件都没有内建在语言之中。
For instance, the controls we used to build the to-do list application were not built into the language.
用户列表利用了关闭的“select1”表单控件。
如果用户按下enter键,当前项应复制到输入控件中,输入列表将隐藏。
If the user presses Enter, the current item should be copied to the input control and the suggestion list hidden.
Swing框架包括您需要的大部分标准控件,包括树、表、列表等等。
The Swing framework includes most of the standard controls that you need, including trees, tables, lists, and so forth.
该类允许在Contacts列表的下半部分创建控件,它扩展了abstractminiapp类。
The class that allows creating a control in the lower half of the Contacts list extends the AbstractMiniApp class.
应用推荐