| |
17. 49. 4. 表样式 |
|
Style | Description | SWT.SINGLE | Only one table row may be selected at a time. This is the default. | SWT.MULTI | Multiple table rows may be selected, usually by holding down a key on the keyboard (typically the Ctrl key) while clicking the table row. | SWT.CHECK | Places a checkbox at the beginning of each table row. Note that the checked state of the checkbox is independent from the selected state of the table row. | SWT.FULL_SELECTION | Highlights the entire row, rather than just the first column of the row, when the row is selected. The default is to highlight only the first column. | SWT.HIDE_SELECTION | Removes the highlight from the selected row (if any) when the window containing the table isn't the foreground window. The default is to keep the row highlighted whether or not the parent window is the foreground window. |
|
|