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
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
addOneData
(Object o, String type, String level, List<String> list, Collection<Object[]> result) int
protected void
int
getColumnName
(int column) int
getValueAt
(int row, int column) void
setCheckResult
(CheckResult checkResult) void
setSortedBy
(int column) 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
Methods 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:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getRowCount
public int getRowCount()- Specified by:
getRowCount
in interfaceTableModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfaceTableModel
-
getValueAt
- Specified by:
getValueAt
in interfaceTableModel
-
setSortedBy
public void setSortedBy(int column) -
compare
- Specified by:
compare
in interfaceComparator<Object[]>
-
addMouseListenerToHeaderInTable
-