Class CMRInetMetricsFrame.NetMetricsDataTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrix.cmri.serial.cmrinetmanager.CMRInetMetricsFrame.NetMetricsDataTableModel
- All Implemented Interfaces:
Serializable
,TableModel
- Enclosing class:
- CMRInetMetricsFrame
public class CMRInetMetricsFrame.NetMetricsDataTableModel extends AbstractTableModel
Set up table for displaying the Error metrics
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static int
DATABLANK_COLUMN
static int
DATACOUNT_COLUMN
static int
DATANAME_COLUMN
static int
DATANUMCOLUMNS
static int
DATARESET_COLUMN
-
Constructor Summary
Constructors Constructor Description NetMetricsDataTableModel()
-
Method Summary
Modifier and Type Method Description Class<?>
getColumnClass(int r, int c)
int
getColumnCount()
String
getColumnName(int c)
int
getRowCount()
Object
getValueAt(int r, int c)
boolean
isCellEditable(int r, int c)
void
setValueAt(int value, int r, int c)
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
-
Field Details
-
DATANAME_COLUMN
- See Also:
- Constant Field Values
-
DATACOUNT_COLUMN
- See Also:
- Constant Field Values
-
DATABLANK_COLUMN
- See Also:
- Constant Field Values
-
DATARESET_COLUMN
- See Also:
- Constant Field Values
-
DATANUMCOLUMNS
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getColumnClass
-
isCellEditable
- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
getColumnCount
-
getRowCount
-
getValueAt
-
setValueAt
-