Interface SortableRenderer


  • public interface SortableRenderer
    This interface is intended to be implemented by custom TableCellRenderers installed on the JTableHeader of a sortable JTable. The custom renderer need only implement this interface and it will be notified of the appropriate sorting icon immediately before the renderer is asked to provide a component.
    Author:
    James Lemieux
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setSortIcon​(javax.swing.Icon sortIcon)
      Sets the icon to display in order to indicate sorting direction or null if no sorting is taking place.
    • Method Detail

      • setSortIcon

        void setSortIcon​(javax.swing.Icon sortIcon)
        Sets the icon to display in order to indicate sorting direction or null if no sorting is taking place.
        Parameters:
        sortIcon - the Icon indicating the sort direction or null if there is not sorting