org.apache.log4j.chainsaw
Interface SortTableModel

All Superinterfaces:
javax.swing.table.TableModel
All Known Subinterfaces:
EventContainer

public interface SortTableModel
extends javax.swing.table.TableModel

An extended TableModel interface that allows Column sorting

Author:
Claude Duguay

Method Summary
 boolean isSortable(int col)
           
 boolean isSortEnabled()
           
 void sort()
           
 void sortColumn(int col, boolean ascending)
           
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

sortColumn

void sortColumn(int col,
                boolean ascending)

sort

void sort()

isSortable

boolean isSortable(int col)

isSortEnabled

boolean isSortEnabled()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.