public void editorTable(Table table,Event e){
final TableEditor editor = new TableEditor(table);
editor.horizontalAlignment = SWT.LEFT;
editor.verticalAlignment=SWT.LEFT;
editor.grabHorizontal = true;
Rectangle clientArea = table.getClientArea();
Point pt = new Point(e.x, e.y);
int index = table.getTopIndex();
while (index < table.getItemCount())
{
boolean visible = false;
final TableItem item = table.getItem(index);
for (int i = 0; i < table.getColumnCount(); i++)
{
实现SWT中Table单元格的可编辑
最新推荐文章于 2023-11-23 22:03:59 发布