Cell editor 展示 CheckBox

Cell editor 显示 CheckBox在SWT的Table中显示CheckBox, 以前知道的方法是?如果是第一列则new Table(paren

Cell editor 显示 CheckBox

在SWT的Table中显示CheckBox, 以前知道的方法是

?

如果是第一列则new Table(parent, SWT.CHECK)

?

如果是其它列则用图标来显示, 一个是选中,一个是未选中

?

现在知道的一种方式是用TableEditor,创建一个Control悬浮在Cell上

?

?

http://www.java2s.com/Tutorial/Java/0280__SWT/TableCellEditorComboTextandButton.htm