org.eclipse.swt.widgets.Table.showColumn()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(208)

本文整理了Java中org.eclipse.swt.widgets.Table.showColumn()方法的一些代码示例,展示了Table.showColumn()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.showColumn()方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Table
类名称:Table
方法名:showColumn

Table.showColumn介绍

[英]Shows the column. If the column is already showing in the receiver, this method simply returns. Otherwise, the columns are scrolled until the column is visible.
[中]显示该列。如果该列已经显示在接收器中,则该方法只返回。否则,将滚动列,直到该列可见。

代码示例

代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface

  1. protected boolean scrollCellIntoView(int columnIndex) {
  2. item.getParent().showItem(item);
  3. if( hasColumns() ) {
  4. item.getParent().showColumn(item.getParent().getColumn(columnIndex));
  5. }
  6. return true;
  7. }
  8. }

代码示例来源:origin: org.eclipse.platform/org.eclipse.jface

  1. @Override
  2. protected boolean scrollCellIntoView(int columnIndex) {
  3. item.getParent().showItem(item);
  4. if( hasColumns() ) {
  5. item.getParent().showColumn(item.getParent().getColumn(columnIndex));
  6. }
  7. return true;
  8. }
  9. }

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface

  1. @Override
  2. protected boolean scrollCellIntoView(int columnIndex) {
  3. item.getParent().showItem(item);
  4. if( hasColumns() ) {
  5. item.getParent().showColumn(item.getParent().getColumn(columnIndex));
  6. }
  7. return true;
  8. }
  9. }

代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64

  1. column.addListener(SWT.Move, resizeListener);
  2. column.addListener(SWT.Resize, resizeListener);
  3. table.showColumn(column);

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

  1. column.addListener(SWT.Move, resizeListener);
  2. column.addListener(SWT.Resize, resizeListener);
  3. table.showColumn(column);

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

  1. column.addListener(SWT.Move, resizeListener);
  2. column.addListener(SWT.Resize, resizeListener);
  3. table.showColumn(column);

代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui

  1. getTable().showColumn(getTable().getColumn(newLocation[1]));

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

  1. column.addListener(SWT.Move, resizeListener);
  2. column.addListener(SWT.Resize, resizeListener);
  3. table.showColumn(column);

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

  1. column.addListener(SWT.Move, resizeListener);
  2. column.addListener(SWT.Resize, resizeListener);
  3. table.showColumn(column);

相关文章

Table类方法