Class CheckResultTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
fr.ifremer.isisfish.ui.input.check.CheckResultTableModel
- All Implemented Interfaces:
Serializable,Comparator<Object[]>,TableModel
CheckResultTableModel.
Created: 10 janv. 2004
- Version:
- $Revision$ Mise a jour: $Date$ par : $Author$
- Author:
- Benjamin Poussin <poussin@codelutin.com>
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidaddOneData(Object o, String type, String level, List<String> list, Collection<Object[]> result) intprotected voidintgetColumnName(int column) intgetValueAt(int row, int column) voidsetCheckResult(CheckResult checkResult) voidsetSortedBy(int column) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
checkResult
-
data
-
sortedBy
protected int sortedBy -
ascending
protected boolean ascending
-
-
Constructor Details
-
CheckResultTableModel
-
-
Method Details
-
setCheckResult
-
computeData
protected void computeData() -
addOneData
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin interfaceTableModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceTableModel
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
setSortedBy
public void setSortedBy(int column) -
compare
- Specified by:
comparein interfaceComparator<Object[]>
-
addMouseListenerToHeaderInTable
-