Package com.iizigo.text
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 Summary
ConstructorDescriptionColumnListener
(TooltipTableViewer viewer, int column, TableComparator comparator) Constructor.Method Summary
Modifier and TypeMethodDescriptionvoid
widgetSelected
(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
Constructor Details
ColumnListener
Constructor.
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 interfaceorg.eclipse.swt.events.SelectionListener
- Overrides:
widgetSelected
in classorg.eclipse.swt.events.SelectionAdapter