本文整理了Java中org.eclipse.swt.widgets.Tree.showColumn()
方法的一些代码示例,展示了Tree.showColumn()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Tree.showColumn()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Tree
类名称:Tree
方法名: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.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.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.platform/org.eclipse.swt.gtk.linux.s390x
column.addListener(SWT.Move, resizeListener);
column.addListener(SWT.Resize, resizeListener);
tree.showColumn(column);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
column.addListener(SWT.Move, resizeListener);
column.addListener(SWT.Resize, resizeListener);
tree.showColumn(column);
代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64
column.addListener(SWT.Move, resizeListener);
column.addListener(SWT.Resize, resizeListener);
tree.showColumn(column);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
column.addListener(SWT.Move, resizeListener);
column.addListener(SWT.Resize, resizeListener);
tree.showColumn(column);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
column.addListener(SWT.Move, resizeListener);
column.addListener(SWT.Resize, resizeListener);
tree.showColumn(column);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.ide
filterView.getTree().showColumn(filterView.getTree().getColumn(0));
labelProvider = new LabelProvider();
filterView.setLabelProvider(labelProvider);
内容来源于网络,如有侵权,请联系作者删除!