fr.ifremer.isisfish.ui.input.check
Class CheckResultTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
fr.ifremer.isisfish.ui.input.check.CheckResultTableModel
- All Implemented Interfaces:
- Serializable, Comparator, TableModel
public class CheckResultTableModel
- extends AbstractTableModel
- implements Comparator
CheckResultTableModel.
Created: 10 janv. 2004
- Version:
- $Revision: 3124 $
Mise a jour: $Date: 2010-11-29 19:14:09 +0100 (lun., 29 nov. 2010) $
par : $Author: chatellier $
- Author:
- Benjamin Poussin
Copyright Code Lutin
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checkResult
protected CheckResult checkResult
data
protected ArrayList data
sortedBy
protected int sortedBy
ascending
protected boolean ascending
CheckResultTableModel
public CheckResultTableModel(CheckResult checkResult)
setCheckResult
public void setCheckResult(CheckResult checkResult)
computeData
protected void computeData()
addOneData
protected void addOneData(Object o,
String type,
String level,
List list,
Collection result)
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName in interface TableModel- Overrides:
getColumnName in class AbstractTableModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount in interface TableModel
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount in interface TableModel
getValueAt
public Object getValueAt(int row,
int column)
- Specified by:
getValueAt in interface TableModel
setSortedBy
public void setSortedBy(int column)
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare in interface Comparator
addMouseListenerToHeaderInTable
public void addMouseListenerToHeaderInTable(JTable table)
Copyright © 1999-2011 CodeLutin. All Rights Reserved.