Package com.iizix.swt
Class WidgetSelected
- java.lang.Object
- com.iizix.swt.WidgetSelected
- All Implemented Interfaces:
java.util.EventListener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.SWTEventListener
public class WidgetSelected extends java.lang.Object implements org.eclipse.swt.events.SelectionListener
Class to wrap the SelectionListener interface to a functional event.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description WidgetSelected(WidgetSelectedEvent listener)
Constructor with the single-event function.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Default-selection event is ignored.void
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
This event is forwarded.
Constructor Detail
WidgetSelected
public WidgetSelected(WidgetSelectedEvent listener)
Constructor with the single-event function.- Parameters:
listener
- The listener to "widgetSelected".
Method Detail
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
This event is forwarded.- Specified by:
widgetSelected
in interfaceorg.eclipse.swt.events.SelectionListener
widgetDefaultSelected
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Default-selection event is ignored.- Specified by:
widgetDefaultSelected
in interfaceorg.eclipse.swt.events.SelectionListener