Class ColumnListener

java.lang.Object
org.eclipse.swt.events.SelectionAdapter
com.iizigo.text.ColumnListener
All Implemented Interfaces:
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
  • Constructor Details

  • Method Details

    • 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