Class SimpleSelectionAdapter
java.lang.Object
org.eclipse.nebula.widgets.opal.commons.SimpleSelectionAdapter
- All Implemented Interfaces:
java.util.EventListener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.SWTEventListener
public abstract class SimpleSelectionAdapter
extends java.lang.Object
implements org.eclipse.swt.events.SelectionListener
This class is an adapter for the SelectionListener. Both behaviours (DefaultSelected and Selected) are doing the same thing
-
Constructor Summary
Constructors Constructor Description SimpleSelectionAdapter()
-
Method Summary
Modifier and Type Method Description abstract void
handle(org.eclipse.swt.events.SelectionEvent e)
Sent when selection occurs in the control.void
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
void
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
-
Constructor Details
-
SimpleSelectionAdapter
public SimpleSelectionAdapter()
-
-
Method Details
-
widgetDefaultSelected
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)- Specified by:
widgetDefaultSelected
in interfaceorg.eclipse.swt.events.SelectionListener
- See Also:
SelectionListener.widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-
widgetSelected
public 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)
-
handle
public abstract void handle(org.eclipse.swt.events.SelectionEvent e)Sent when selection occurs in the control.- Parameters:
e
- - an event containing information about the selection
-