ca.odell.glazedlists.swing

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 Details

setSortIcon

public 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

Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by pbuilder at 2009-07-14 22:05