In Listing 1, the group USES a GridLayout class.
在清单1中,组使用了GridLayout类。
To initialize GridLayout, you simply set the number of columns.
为了初始化gridlayout,您只要设置列数。
The gridLayout array defines the column names and the field mappings.
gridLayout数组定义了列名和字段映射。
GridLayout offers a more powerful layout approach that resembles using HTML tables.
GridLayout提供了一个功能更强大的布局方法,该方法类似于使用html表的方法。
First, we first create a composite preference page and set the layout with GridLayout.
首先,先创建一个合成的首选项页面并用GridLayout设定布局。
To specify the properties of each cell individually, GridLayout USES a GridData class.
要分别指定每个单元的属性,GridLayout使用了griddata类。
The GridLayout element specifies the dimensions of a grid of cells that components can occupy.
GridLayout指定了由一个单元网格组成的维度,用于容纳组件。
When declaring a Composite for example, the layout automatically defaults to the commonly used GridLayout.
例如在声明一个Composite时,常用的GridLayout就会作为其默认布局。
SWT provides several layout managers for you to use; in this installment, we will talk about two of the more basic ones: FillLayout and GridLayout.
SWT 也提供了一些布局管理器供您使用;在这一期的系列文章中,我们将讨论两种基本的布局管理器:FillLayout和GridLayout。
The dialog box is a basic Eclipse SWT-based dialog box that uses the SWT GridLayout to define how the different UI elements are positioned on the screen.
该对话框是一个基于EclipseSWT 的基本对话框,它使用SWTGridLayout来定义如何在屏幕上确定不同UI元素的位置。
To provide this type of refined control for each cell, the controls added to a GridLayout managed composite can have instances of GridData (a LayoutData sub-class).
为了给每个单元格提供这种精确控制,添加到GridLayout 的托管复合控件的控件可以拥有 GridData实例(LayoutData的子类)。
To provide this type of refined control for each cell, the controls added to a GridLayout managed composite can have instances of GridData (a LayoutData sub-class).
为了给每个单元格提供这种精确控制,添加到GridLayout 的托管复合控件的控件可以拥有 GridData实例(LayoutData的子类)。
应用推荐