Package com.iizigo.text
Class ColumnListener
java.lang.Object
org.eclipse.swt.events.SelectionAdapter
com.iizigo.text.ColumnListener
- All Implemented Interfaces:
EventListener
,SelectionListener
,SWTEventListener
The column listener for sorting.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionColumnListener
(TooltipTableViewer viewer, int column, TableComparator comparator) Constructor.Method Summary
Modifier and TypeMethodDescriptionvoid
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
Toggle direction if same column, otherwise set sort on selected column.- Specified by:
widgetSelected
in interfaceSelectionListener
- Overrides:
widgetSelected
in classSelectionAdapter