Class ColumnListener

  • All Implemented Interfaces:
    java.util.EventListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

    public class ColumnListener
    extends org.eclipse.swt.events.SelectionAdapter
    The column listener for sorting.
    Author:
    Christopher Mindus
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidwidgetSelected​(org.eclipse.swt.events.SelectionEvent e)
      Toggle direction if same column, otherwise set sort on selected column.
      • Methods inherited from class org.eclipse.swt.events.SelectionAdapter

        widgetDefaultSelected
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • widgetSelected

        public void widgetSelected​(org.eclipse.swt.events.SelectionEvent e)
        Toggle direction if same column, otherwise set sort on selected column.
        Specified by:
        widgetSelected in interface org.eclipse.swt.events.SelectionListener
        Overrides:
        widgetSelected in class org.eclipse.swt.events.SelectionAdapter