Class MultiChoiceSelectionListener<T>

  • All Implemented Interfaces:
    java.util.EventListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

    public abstract class MultiChoiceSelectionListener<T>
    extends java.lang.Object
    implements org.eclipse.swt.events.SelectionListener
    Classes which extend this abstract class provide methods that deal with the events that are generated when selection occurs in a MultiChoice control.
    • Constructor Detail

      • MultiChoiceSelectionListener

        public MultiChoiceSelectionListener​(MultiChoice<T> parent)
    • Method Detail

      • widgetSelected

        public final void widgetSelected​(org.eclipse.swt.events.SelectionEvent e)
        Specified by:
        widgetSelected in interface org.eclipse.swt.events.SelectionListener
        See Also:
        SelectionListener.widgetSelected(org.eclipse.swt.events.SelectionEvent)
      • widgetDefaultSelected

        public final void widgetDefaultSelected​(org.eclipse.swt.events.SelectionEvent inutile)
        Specified by:
        widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
        See Also:
        SelectionListener.widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
      • handle

        public abstract void handle​(MultiChoice<T> parent,
                                    T receiver,
                                    boolean selected,
                                    org.eclipse.swt.widgets.Shell popup)
        This method contains the code that is called when the selection has changed
        Parameters:
        parent - MultiChoice responsible of the event
        receiver - Object modified
        selected - If true, the check box has been checked
        popup - the popup window that contains all checkboxes