Class SortableTableColumn

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int direction  
      protected org.eclipse.jface.viewers.TableViewer tableViewer  
      • Fields inherited from class org.eclipse.swt.widgets.Widget

        handle
    • Constructor Summary

      Constructors 
      Constructor Description
      SortableTableColumn​(org.eclipse.jface.viewers.TableViewer tableViewer, int style)  
      SortableTableColumn​(org.eclipse.jface.viewers.TableViewer tableViewer, int style, int index)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkSubclass()  
      abstract int compare​(Object o1, Object o2)  
      • Methods inherited from class org.eclipse.swt.widgets.TableColumn

        addControlListener, addSelectionListener, dispose, getAlignment, getMoveable, getParent, getResizable, getToolTipText, getWidth, pack, removeControlListener, removeSelectionListener, setAlignment, setImage, setMoveable, setResizable, setText, setToolTipText, setWidth
      • Methods inherited from class org.eclipse.swt.widgets.Item

        getImage, getText
      • Methods inherited from class org.eclipse.swt.widgets.Widget

        addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
    • Field Detail

      • direction

        protected int direction
      • tableViewer

        protected org.eclipse.jface.viewers.TableViewer tableViewer
    • Constructor Detail

      • SortableTableColumn

        public SortableTableColumn​(org.eclipse.jface.viewers.TableViewer tableViewer,
                                   int style)
      • SortableTableColumn

        public SortableTableColumn​(org.eclipse.jface.viewers.TableViewer tableViewer,
                                   int style,
                                   int index)
    • Method Detail

      • checkSubclass

        protected void checkSubclass()
        Overrides:
        checkSubclass in class org.eclipse.swt.widgets.TableColumn
      • compare

        public abstract int compare​(Object o1,
                                    Object o2)