org.datamanager.kernel
Class ThreadMonitorSimpleton.ThreadTableModel
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--org.datamanager.kernel.ThreadMonitorSimpleton.ThreadTableModel
- All Implemented Interfaces:
- Serializable, TableModel
- Enclosing class:
- ThreadMonitorSimpleton
- public class ThreadMonitorSimpleton.ThreadTableModel
- extends AbstractTableModel
A TableModel for displaying information about the system
threads.
- 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 |
ThreadMonitorSimpleton.ThreadTableModel
public ThreadMonitorSimpleton.ThreadTableModel()
setThreads
public void setThreads(Thread[] threads)
- Sets the list of threads to display.
getColumnCount
public int getColumnCount()
getRowCount
public int getRowCount()
getKillButton
public String getKillButton(Thread thread)
- Placeholder for a function to produce a JButton that, when
pressed, will kill the given thread. Right now just
returns a rousing battle cry.
getColumnName
public String getColumnName(int columnIndex)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class AbstractTableModel
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
See the Helium Website