本文整理了Java中org.eclipse.swt.widgets.Table.setHeaderVisible()
方法的一些代码示例,展示了Table.setHeaderVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.setHeaderVisible()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Table
类名称:Table
方法名:setHeaderVisible
[英]Marks the receiver's header as visible if the argument is true
, and marks it invisible otherwise.
If one of the receiver's ancestors is not visible or some other condition makes the receiver not visible, marking it visible may not actually cause it to be displayed.
[中]如果参数为true
,则将接收者的标题标记为可见,否则将其标记为不可见。
如果接收者的祖先之一不可见,或者其他一些情况使接收者不可见,那么将其标记为可见实际上可能不会导致其显示。
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);;
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);
table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 3, 2));
table.addSelectionListener(new SelectionAdapter() {
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);
table.setLinesVisible(true);
EditListener listener = new EditListener(table, false, true);
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);
table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 3, 4));
table.addSelectionListener(new SelectionAdapter() {
代码示例来源:origin: caoxinyu/RedisClient
| SWT.MULTI | SWT.VIRTUAL);;
table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 3, 6));
table.setHeaderVisible(true);
table.addSelectionListener(new SelectionAdapter() {
@Override
代码示例来源:origin: caoxinyu/RedisClient
| SWT.MULTI);
table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 3, 3));
table.setHeaderVisible(true);
table.addSelectionListener(new SelectionAdapter() {
@Override
代码示例来源:origin: caoxinyu/RedisClient
| SWT.MULTI);
table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 3, 6));
table.setHeaderVisible(true);
table.addSelectionListener(new SelectionAdapter() {
@Override
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);
table.addSelectionListener(new SelectionAdapter() {
@Override
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);
代码示例来源:origin: caoxinyu/RedisClient
@Override
protected void initData(Composite composite) {
Table table = new Table(composite, SWT.BORDER | SWT.FULL_SELECTION | SWT.MULTI | SWT.VIRTUAL);
table.setHeaderVisible(true);
table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 5));
table.setLinesVisible(true);
EditListener listener = new EditListener(table, false);
table.addListener(SWT.MouseDown, listener);
tblclmnNewColumn = new TableColumn(table, SWT.NONE);
tblclmnNewColumn.setText(RedisClient.i18nFile.getText(I18nFile.VALUE));
tblclmnNewColumn.setWidth(200);
String[] data = result.getResult().split("\n");
for(int i = 0 ; i < data.length; i ++){
TableItem item = new TableItem(table, SWT.NONE);
item.setText(data[i]);
}
}
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);
table.setLinesVisible(true);
EditListener listener = new EditListener(table, false);
代码示例来源:origin: caoxinyu/RedisClient
Table table = new Table(tabFolder, SWT.BORDER | SWT.FULL_SELECTION);
tbtmServerInformation.setControl(table);
table.setHeaderVisible(true);
table.setLinesVisible(true);
EditListener listener = new EditListener(table, false);
代码示例来源:origin: caoxinyu/RedisClient
protected void initData(Composite composite) {
Table table = new Table(composite, SWT.BORDER | SWT.FULL_SELECTION | SWT.MULTI);
table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 3, 5));
table.setHeaderVisible(true);
table.setLinesVisible(true);
EditListener listener = new EditListener(table, false);
table.addListener(SWT.MouseDown, listener);
tblclmnNewColumn = new TableColumn(table, SWT.NONE);
tblclmnNewColumn.setWidth(132);
tblclmnNewColumn.setText(RedisClient.i18nFile.getText(I18nFile.FIELD));
tblclmnMember = new TableColumn(table, SWT.NONE);
tblclmnMember.setWidth(236);
tblclmnMember.setText(RedisClient.i18nFile.getText(I18nFile.VALUE));
String[] data = result.getResult().split("\n");
for(int i = 0 ; i < data.length/2; i ++){
TableItem item = new TableItem(table, SWT.NONE);
String[] values = new String[]{data[i*2], data[i*2+1]};
item.setText(values);
}
}
代码示例来源:origin: caoxinyu/RedisClient
tableServer.setHeaderVisible(true);
tableServer.setLinesVisible(true);
EditListener listener = new EditListener(tableServer, false);
Table table = new Table(tabFolder, SWT.BORDER | SWT.FULL_SELECTION);
tbtmServerInformation.setControl(table);
table.setHeaderVisible(true);
table.setLinesVisible(true);
EditListener listener1 = new EditListener(table, false);
代码示例来源:origin: pentaho/pentaho-kettle
fdSteps.bottom = new FormAttachment( wOK, -margin * 2 );
wSteps.setLayoutData( fdSteps );
wSteps.table.setHeaderVisible( false );
代码示例来源:origin: pentaho/pentaho-kettle
table.setHeaderVisible( true );
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);
table.setLinesVisible(true);
EditListener listener = new EditListener(table, false, true);
代码示例来源:origin: caoxinyu/RedisClient
table.setHeaderVisible(true);
代码示例来源:origin: pentaho/pentaho-kettle
table.setHeaderVisible( true );
table.setLinesVisible( true );
内容来源于网络,如有侵权,请联系作者删除!