SelectionListener
interface. widgetSelected
is not called for texts. widgetDefaultSelected
is typically called when ENTER is pressed in a single-line text, or when ENTER is pressed in a search text. If the receiver has the SWT.SEARCH | SWT.ICON_CANCEL
style and the user cancels the search, the event object detail field contains the value SWT.ICON_CANCEL
. Likewise, if the receiver has the SWT.ICON_SEARCH
style and the icon search is selected, the event object detail field contains the value SWT.ICON_SEARCH
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|