Class MultiChoiceSelectionListener<T>

java.lang.Object
org.eclipse.nebula.widgets.opal.multichoice.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 Summary

    Constructors 
    Constructor Description
    MultiChoiceSelectionListener​(MultiChoice<T> parent)  
  • Method Summary

    Modifier and Type Method Description
    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
    void widgetDefaultSelected​(org.eclipse.swt.events.SelectionEvent inutile)  
    void widgetSelected​(org.eclipse.swt.events.SelectionEvent e)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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