Interface SelectionChangeListener
- All Superinterfaces:
java.util.EventListener
,org.eclipse.swt.internal.SWTEventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface SelectionChangeListener
extends org.eclipse.swt.internal.SWTEventListener
Classes which implement this interface provide methods that deal with the
events that are generated when selection occurs in a control.
After creating an instance of a class that implements this interface it can
be added to a control using the addSelectionChangeListener
method and removed using the removeSelectionChangeListener
method. When selection occurs in a control the appropriate method will be
invoked.
- See Also:
SelectionChangeEvent
-
Method Summary
Modifier and Type Method Description void
widgetSelected(SelectionChangeEvent e)
Sent when selection occurs in the control.
-
Method Details
-
widgetSelected
Sent when selection occurs in the control.- Parameters:
e
- an event containing information about the selection
-