jsky.util.gui
Class SortedJTable.ModelWrapper
java.lang.Object
jsky.util.gui.SortedJTable.ModelWrapper
- All Implemented Interfaces:
- TableModel
- Enclosing class:
- SortedJTable
protected class SortedJTable.ModelWrapper
- extends Object
- implements TableModel
Wraps the original table model by mapping rows to their
sorted row equivalents.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortedJTable.ModelWrapper
protected SortedJTable.ModelWrapper()
addTableModelListener
public void addTableModelListener(TableModelListener l)
- Specified by:
addTableModelListener
in interface TableModel
getColumnClass
public Class getColumnClass(int index)
- Specified by:
getColumnClass
in interface TableModel
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface TableModel
getColumnName
public String getColumnName(int index)
- Specified by:
getColumnName
in interface TableModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface TableModel
getValueAt
public Object getValueAt(int row,
int col)
- Specified by:
getValueAt
in interface TableModel
isCellEditable
public boolean isCellEditable(int row,
int col)
- Specified by:
isCellEditable
in interface TableModel
removeTableModelListener
public void removeTableModelListener(TableModelListener l)
- Specified by:
removeTableModelListener
in interface TableModel
setValueAt
public void setValueAt(Object value,
int row,
int col)
- Specified by:
setValueAt
in interface TableModel
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.