Package com.iizix.swt

Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidwidgetDefaultSelected​(org.eclipse.swt.events.SelectionEvent e)
      Default-selection event is ignored.
      voidwidgetSelected​(org.eclipse.swt.events.SelectionEvent e)
      This event is forwarded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface org.eclipse.swt.events.SelectionListener
      • widgetDefaultSelected

        public void widgetDefaultSelected​(org.eclipse.swt.events.SelectionEvent e)
        Default-selection event is ignored.
        Specified by:
        widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener