Class TableControlSWTRenderer.ECPTableViewerComparator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object e1, java.lang.Object e2)  
      int getDirection()
      Returns the alignment direction.
      void setColumn​(int column)
      Sets the current column.
      • Methods inherited from class org.eclipse.jface.viewers.ViewerComparator

        category, getComparator, isSorterProperty, sort
      • Methods inherited from class java.lang.Object

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

      • getDirection

        public int getDirection()
        Description copied from interface: TableViewerComparator
        Returns the alignment direction.
        Returns:
        the alignment direction
        See Also:
        SWT.UP, SWT.DOWN, SWT.NONE
      • setColumn

        public void setColumn​(int column)
        Description copied from interface: TableViewerComparator
        Sets the current column.
        Parameters:
        column - the column index
      • compare

        public int compare​(org.eclipse.jface.viewers.Viewer viewer,
                           java.lang.Object e1,
                           java.lang.Object e2)
        Overrides:
        compare in class org.eclipse.jface.viewers.ViewerComparator