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 changedvoid
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent inutile)
void
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
-
Constructor Details
-
Method Details
-
widgetSelected
public final void widgetSelected(org.eclipse.swt.events.SelectionEvent e)- Specified by:
widgetSelected
in interfaceorg.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 interfaceorg.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 eventreceiver
- Object modifiedselected
- Iftrue
, the check box has been checkedpopup
- the popup window that contains all checkboxes
-