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)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • widgetDefaultSelected

      public void widgetDefaultSelected​(org.eclipse.swt.events.SelectionEvent e)
      Specified by:
      widgetDefaultSelected in interface org.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 interface org.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