com.levigo.util.swing.glazedlists
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
 void setSortIcon(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(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


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.