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

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

本文整理了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

protected boolean scrollCellIntoView(int columnIndex) {
  item.getParent().showItem(item);
  if( hasColumns() ) {
   item.getParent().showColumn(item.getParent().getColumn(columnIndex));  
  }
  
  return true;
 }
}

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

@Override
  protected boolean scrollCellIntoView(int columnIndex) {
    item.getParent().showItem(item);
    if( hasColumns() ) {
      item.getParent().showColumn(item.getParent().getColumn(columnIndex));
    }

    return true;
  }
}

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

@Override
  protected boolean scrollCellIntoView(int columnIndex) {
    item.getParent().showItem(item);
    if( hasColumns() ) {
      item.getParent().showColumn(item.getParent().getColumn(columnIndex));
    }

    return true;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

相关文章

Table类方法