摘要: (1)如果是在第一列,则可以使用SWT.CHECK 样式来实现,例如: Table table = new Table(parent, SWT.CHECK);(2)如果不是第一列,则可以使用TableEditor,创建一个Control悬浮在CellEditor之上,例如: TableEditoreditor=newTableEditor(table); Button button = new Button(table, SWT.CHECK); button.pack(); editor.minimumWidth = button.getSize().x; editor.horizontalA 阅读全文
posted @ 2012-10-15 23:12 finalstar 阅读(3944) 评论(0) 推荐(0) 编辑