SelectionListener interface.
Classes that wish to deal with SelectionEvents can
extend this class and override only the methods which they are
interested in.
An alternative to this class are the static helper methods
SelectionListener#widgetSelectedAdapter(java.
and
SelectionListener#widgetDefaultSelectedAdapter(java.,
which accept a lambda expression or a method reference that implements the event consumer.
SelectionListener, SelectionEvent, Sample code and further information
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | widgetDefaultSelected(SelectionEvent
an event containing information about the default selection e)Implements org. |
| public void | widgetSelected(SelectionEvent
an event containing information about the selection e)Implements org. |
| SelectionAdapter | back to summary |
|---|---|
| public SelectionAdapter() | |
| widgetDefaultSelected | back to summary |
|---|---|
| public void widgetDefaultSelected(SelectionEvent e) Implements org. Sent when default selection occurs in the control. The default behavior is to do nothing.
| |
| widgetSelected | back to summary |
|---|---|
| public void widgetSelected(SelectionEvent e) Implements org. Sent when selection occurs in the control. The default behavior is to do nothing.
| |