public abstract class SelectionAdapter extends Object implements SelectionListener
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.util.function.Consumer)
and
SelectionListener.widgetDefaultSelectedAdapter(java.util.function.Consumer),
which accept a lambda expression or a method reference that implements the event consumer.
| Constructor and Description |
|---|
SelectionAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
widgetDefaultSelected(SelectionEvent e)
Sent when default selection occurs in the control.
|
void |
widgetSelected(SelectionEvent e)
Sent when selection occurs in the control.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwidgetDefaultSelectedAdapter, widgetSelectedAdapterpublic void widgetSelected(SelectionEvent e)
widgetSelected in interface SelectionListenere - an event containing information about the selectionpublic void widgetDefaultSelected(SelectionEvent e)
widgetDefaultSelected in interface SelectionListenere - an event containing information about the default selection
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.