Interface SelectionChangeListener

  • All Superinterfaces:
    java.util.EventListener, org.eclipse.swt.internal.SWTEventListener

    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 Detail

      • widgetSelected

        void widgetSelected​(SelectionChangeEvent e)
        Sent when selection occurs in the control.
        Parameters:
        e - an event containing information about the selection