uic.widgets
Class TableSorter

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byuic.widgets.TableSorter
All Implemented Interfaces:
EventListener, Serializable, TableModel, TableModelListener, TableViewInterface
Direct Known Subclasses:
TableRowSorter

public class TableSorter
extends AbstractTableModel
implements TableModelListener, TableViewInterface

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter, Serialized Form

Field Summary
protected  TableModel model
          Deprecated.  
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TableSorter()
          Deprecated.  
TableSorter(TableModel model)
          Deprecated.  
 
Method Summary
 void addKeyListenerToTable(JTable table)
          Deprecated.  
 void addMouseListenerToHeaderInTable(JTable table)
          Deprecated.  
 void addSortedColumn(int column, boolean ascending)
          Deprecated.  
 Class getColumnClass(int aColumn)
          Deprecated.  
 int getColumnCount()
          Deprecated.  
 String getColumnName(int aColumn)
          Deprecated.  
 TableModel getModel()
          Deprecated.  
 int getOrgIndex(int i)
          Deprecated.  
 int getOriginalIndex(int localIndex)
          Deprecated.  
 int getRowCount()
          Deprecated.  
 int[] getSortedColumns()
          Deprecated.  
 Object getValueAt(int aRow, int aColumn)
          Deprecated.  
 boolean isAscending()
          Deprecated.  
 boolean isCellEditable(int row, int column)
          Deprecated.  
 void n2sort()
          Deprecated.  
 void setModel(TableModel model)
          Deprecated.  
 void setValueAt(Object aValue, int aRow, int aColumn)
          Deprecated.  
 void sort()
          Deprecated.  
 void sortByColumn(int column)
          Deprecated.  
 void sortByColumn(int column, boolean ascending)
          Deprecated.  
 void tableChanged(TableModelEvent e)
          Deprecated.  
 
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
 

Field Detail

model

protected TableModel model
Deprecated. 
Constructor Detail

TableSorter

public TableSorter()
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

TableSorter

public TableSorter(TableModel model)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter
Method Detail

tableChanged

public void tableChanged(TableModelEvent e)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

Specified by:
tableChanged in interface TableModelListener
See Also:
TableRowSorter

sort

public void sort()
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

n2sort

public void n2sort()
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

getOriginalIndex

public int getOriginalIndex(int localIndex)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

getOrgIndex

public int getOrgIndex(int i)
Deprecated.  

This method is deprecated since the 1.2 release, use the getOriginalIndex method now.

See Also:
getOriginalIndex(int)

getValueAt

public Object getValueAt(int aRow,
                         int aColumn)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

Specified by:
getValueAt in interface TableModel
See Also:
TableRowSorter

setValueAt

public void setValueAt(Object aValue,
                       int aRow,
                       int aColumn)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

Specified by:
setValueAt in interface TableModel
See Also:
TableRowSorter

sortByColumn

public void sortByColumn(int column)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

sortByColumn

public void sortByColumn(int column,
                         boolean ascending)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

addSortedColumn

public void addSortedColumn(int column,
                            boolean ascending)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

getSortedColumns

public int[] getSortedColumns()
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

isAscending

public boolean isAscending()
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

addMouseListenerToHeaderInTable

public void addMouseListenerToHeaderInTable(JTable table)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

addKeyListenerToTable

public void addKeyListenerToTable(JTable table)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

getModel

public TableModel getModel()
Deprecated.  

Deprectated class since the original has been moved to uic.model.

Specified by:
getModel in interface TableViewInterface
Returns:
the child model, or null if none.
See Also:
TableRowSorter

setModel

public void setModel(TableModel model)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

See Also:
TableRowSorter

getRowCount

public int getRowCount()
Deprecated.  

Deprectated class since the original has been moved to uic.model.

Specified by:
getRowCount in interface TableModel
See Also:
TableRowSorter

getColumnCount

public int getColumnCount()
Deprecated.  

Deprectated class since the original has been moved to uic.model.

Specified by:
getColumnCount in interface TableModel
See Also:
TableRowSorter

getColumnName

public String getColumnName(int aColumn)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

Specified by:
getColumnName in interface TableModel
See Also:
TableRowSorter

getColumnClass

public Class getColumnClass(int aColumn)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

Specified by:
getColumnClass in interface TableModel
See Also:
TableRowSorter

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Deprecated.  

Deprectated class since the original has been moved to uic.model.

Specified by:
isCellEditable in interface TableModel
See Also:
TableRowSorter


Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence