public class CheckResultTableModel extends AbstractTableModel implements Comparator
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
ascending |
protected CheckResult |
checkResult |
protected ArrayList |
data |
protected int |
sortedBy |
listenerList| Constructor and Description |
|---|
CheckResultTableModel(CheckResult checkResult) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMouseListenerToHeaderInTable(JTable table) |
protected void |
addOneData(Object o,
String type,
String level,
List list,
Collection result) |
int |
compare(Object o1,
Object o2) |
protected void |
computeData() |
int |
getColumnCount() |
String |
getColumnName(int column) |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
void |
setCheckResult(CheckResult checkResult) |
void |
setSortedBy(int column) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsprotected CheckResult checkResult
protected ArrayList data
protected int sortedBy
protected boolean ascending
public CheckResultTableModel(CheckResult checkResult)
public void setCheckResult(CheckResult checkResult)
protected void computeData()
protected void addOneData(Object o, String type, String level, List list, Collection result)
public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic int getRowCount()
getRowCount in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic Object getValueAt(int row, int column)
getValueAt in interface TableModelpublic void setSortedBy(int column)
public int compare(Object o1, Object o2)
compare in interface Comparatorpublic void addMouseListenerToHeaderInTable(JTable table)
Copyright © 1999-2012 CodeLutin. All Rights Reserved.