protected class TableControlSWTRenderer.ECPTableViewerComparator extends TableControlSWTRenderer.TableControlComparator
ViewerComparator for this table which allows 3 states for sort order:
none, up and down.| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.eclipse.jface.viewers.Viewer viewer,
Object e1,
Object e2) |
int |
getDirection()
Returns the alignment direction.
|
void |
setColumn(int column)
Sets the current column.
|
public int getDirection()
TableViewerComparatorSWT.UP,
SWT.DOWN,
SWT.NONEpublic void setColumn(int column)
TableViewerComparatorcolumn - the column indexCopyright © 2020. All rights reserved.