public class SourceTableModel
extends javax.swing.table.AbstractTableModel
| Constructor and Description |
|---|
SourceTableModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFS(FaultState faultState)
Add an alarm to the model.
|
void |
clear()
Clear the list of fault states shown in the table
|
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
int |
getRowCount() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
void |
showCompact(boolean compact)
Show the table as compact
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtpublic java.lang.String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelpublic int getColumnCount()
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
public void addFS(FaultState faultState)
faultState - The alarm receivedMAX_FAULTSTATESpublic void clear()
public void showCompact(boolean compact)
compact - if true the table is compactedS