SelectionListener
interface. widgetSelected
is called when the combo's list selection changes. widgetDefaultSelected
is typically called when ENTER is pressed the combo's text area.
SelectionListener
interface. widgetSelected
is called when the user changes the selected tab. widgetDefaultSelected
is not called.
SelectionListener
interface. When widgetSelected
is called, the item field of the event object is valid. If the receiver has SWT.CHECK
style set and the check selection changes, the event object detail field contains the value SWT.CHECK
. widgetDefaultSelected
is typically called when an item is double-clicked.
SelectionListener
interface. widgetSelected
is called when the control is selected by the user. widgetDefaultSelected
is not called.
When the SWT.RADIO
style bit is set, the widgetSelected
method is also called when the receiver loses selection because another item in the same radio group was selected by the user. During widgetSelected
the application can use getSelection()
to determine the current selected state of the receiver.
SelectionListener
interface. widgetSelected
is called when the user changes the combo's list selection. widgetDefaultSelected
is typically called when ENTER is pressed the combo's text area.
SelectionListener
interface. widgetSelected
is called when the control is selected by the user. widgetDefaultSelected
is not called.
SelectionListener
interface. widgetSelected
is called when the selection changes. widgetDefaultSelected
is typically called when an item is double-clicked.
SelectionListener
interface. When widgetSelected
is called, the stateMask field of the event object is valid. widgetDefaultSelected
is not called.
When the SWT.RADIO
style bit is set, the widgetSelected
method is also called when the receiver loses selection because another item in the same radio group was selected by the user. During widgetSelected
the application can use getSelection()
to determine the current selected state of the receiver.
SelectionListener
interface. When widgetSelected
is called, the x, y, width, and height fields of the event object are valid. If the receiver is being dragged, the event object detail field contains the value SWT.DRAG
. widgetDefaultSelected
is not called.
SelectionListener
interface. widgetSelected
is called when the user changes the receiver's value. widgetDefaultSelected
is not called.
SelectionListener
interface. When widgetSelected
is called, the event object detail field contains one of the following values: SWT.NONE
- for the end of a drag. SWT.DRAG
. SWT.HOME
. SWT.END
. SWT.ARROW_DOWN
. SWT.ARROW_UP
. SWT.PAGE_DOWN
. SWT.PAGE_UP
. widgetDefaultSelected
is not called.
SelectionListener
interface. widgetSelected
is not called for texts. widgetDefaultSelected
is typically called when ENTER is pressed in a single-line text.
SelectionListener
interface. When widgetSelected
is called, the item field of the event object is valid. widgetDefaultSelected
is not called.
SelectionListener
interface. When widgetSelected
is called, the item field of the event object is valid. If the receiver has the SWT.CHECK
style and the check selection changes, the event object detail field contains the value SWT.CHECK
. widgetDefaultSelected
is typically called when an item is double-clicked. The item field of the event object is valid for default selection, but the detail field is not used.
SelectionListener
interface. widgetSelected
is called when the column header is selected. widgetDefaultSelected
is not called.
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
.
SelectionListener
interface. When widgetSelected
is called when the mouse is over the arrow portion of a drop-down tool, the event object detail field contains the value SWT.ARROW
. widgetDefaultSelected
is not called.
When the SWT.RADIO
style bit is set, the widgetSelected
method is also called when the receiver loses selection because another item in the same radio group was selected by the user. During widgetSelected
the application can use getSelection()
to determine the current selected state of the receiver.
SelectionListener
interface. widgetSelected
is called when the receiver is selected widgetDefaultSelected
is called when the receiver is double-clicked
SelectionListener
interface. When widgetSelected
is called, the item field of the event object is valid. If the receiver has the SWT.CHECK
style and the check selection changes, the event object detail field contains the value SWT.CHECK
. widgetDefaultSelected
is typically called when an item is double-clicked. The item field of the event object is valid for default selection, but the detail field is not used.
SelectionListener
interface. widgetSelected
is called when the column header is selected. widgetDefaultSelected
is not called.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|