本文整理了Java中org.eclipse.swt.widgets.Table.pack()
方法的一些代码示例,展示了Table.pack()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.pack()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Table
类名称:Table
方法名:pack
暂无
代码示例来源:origin: pentaho/pentaho-kettle
table.pack();
代码示例来源:origin: stackoverflow.com
table.pack();
代码示例来源:origin: org.apache.uima/uimaj-ep-configurator
@Override
protected Control createDialogArea(Composite parent) {
// create composite
//
// Bindings for aggregate sofa name xxxxxx:
// <Table with multi-select, one column>
// component/sofa-name
// component
//
Composite composite = (Composite) super.createDialogArea(parent);
Label info = new Label(composite, SWT.NONE);
info.setText("Select all the delegate sofas from the list below which should be "
+ "associated with the aggregate sofa name \"" + aggrSofaName + "\".\n"
+ "Hold down the Shift or Control keys to select multiple items.");
table = newTable(composite, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL);
int i = 0;
for (Iterator it = availAndBoundSofas.entrySet().iterator(); it.hasNext(); i++) {
TableItem item = new TableItem(table, SWT.NONE);
Map.Entry entry = (Map.Entry) it.next();
item.setText((String) entry.getKey());
if (null != entry.getValue())
table.select(i);
}
table.pack();
return composite;
}
代码示例来源:origin: org.apache.directory.studio/ldapbrowser.common
syntaxViewer.setInput( syntaxList );
syntaxViewer.getTable().getColumn( 0 ).pack();
syntaxViewer.getTable().pack();
代码示例来源:origin: org.xworker/xworker_swt
dateTable.pack();
dateTable.showItem(dateTable.getItems()[week]);
if(weekDay == 0){
代码示例来源:origin: org.apache.directory.studio/ldapbrowser.common
attributeViewer.getTable().getColumn( 0 ).pack();
attributeViewer.getTable().getColumn( 2 ).pack();
attributeViewer.getTable().pack();
syntaxViewer.getTable().getColumn( 0 ).pack();
syntaxViewer.getTable().getColumn( 2 ).pack();
syntaxViewer.getTable().pack();
代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.workbench
table.pack();
dialog.pack();
代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.workbench
table.pack();
dialog.pack();
代码示例来源:origin: org.eclipse/org.eclipse.wst.server.ui
for (int i=0; i < columns.length; i++)
columns[i].pack();
table.pack();
内容来源于网络,如有侵权,请联系作者删除!