net.mlw.vlh.swing.support
Class DelegateToServiceTableSorter
java.lang.Object
javax.swing.table.AbstractTableModel
net.mlw.vlh.swing.support.DelegateToServiceTableSorter
- All Implemented Interfaces:
- Serializable, TableModel
- public class DelegateToServiceTableSorter
- extends AbstractTableModel
- Version:
- $Revision: 1.1 $ $Date: 2005/03/16 12:16:23 $
- Author:
- Matthew L. Wilson
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tableModel
protected TableModel tableModel
DESCENDING
public static final int DESCENDING
- See Also:
- Constant Field Values
NOT_SORTED
public static final int NOT_SORTED
- See Also:
- Constant Field Values
ASCENDING
public static final int ASCENDING
- See Also:
- Constant Field Values
DelegateToServiceTableSorter
public DelegateToServiceTableSorter()
DelegateToServiceTableSorter
public DelegateToServiceTableSorter(TableModel tableModel)
DelegateToServiceTableSorter
public DelegateToServiceTableSorter(TableModel tableModel,
JTableHeader tableHeader)
getTableModel
public TableModel getTableModel()
setTableModel
public void setTableModel(TableModel tableModel)
getTableHeader
public JTableHeader getTableHeader()
setTableHeader
public void setTableHeader(JTableHeader tableHeader)
isSorting
public boolean isSorting()
getSortingStatus
public int getSortingStatus(int column)
setSortingStatus
public void setSortingStatus(int column,
int status)
getHeaderRendererIcon
protected Icon getHeaderRendererIcon(int column,
int size)
getRowCount
public int getRowCount()
getColumnCount
public int getColumnCount()
getColumnName
public String getColumnName(int column)
getColumnClass
public Class getColumnClass(int column)
isCellEditable
public boolean isCellEditable(int row,
int column)
getValueAt
public Object getValueAt(int row,
int column)
setValueAt
public void setValueAt(Object aValue,
int row,
int column)
addActionListener
public void addActionListener(ActionListener actionListener)
getSortingColumns
public List getSortingColumns()
- Returns:
- Returns the sortingColumns.
Copyright © 2003-2006 mlavilson. All Rights Reserved.