Class CMRInetMetricsFrame.NetMetricsDataTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrix.cmri.serial.cmrinetmanager.CMRInetMetricsFrame.NetMetricsDataTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
- Enclosing class:
- CMRInetMetricsFrame
public class CMRInetMetricsFrame.NetMetricsDataTableModel extends javax.swing.table.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getColumnClass(int r, int c)
int
getColumnCount()
java.lang.String
getColumnName(int c)
int
getRowCount()
java.lang.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 Detail
-
DATANAME_COLUMN
public static final int DATANAME_COLUMN
- See Also:
- Constant Field Values
-
DATACOUNT_COLUMN
public static final int DATACOUNT_COLUMN
- See Also:
- Constant Field Values
-
DATABLANK_COLUMN
public static final int DATABLANK_COLUMN
- See Also:
- Constant Field Values
-
DATARESET_COLUMN
public static final int DATARESET_COLUMN
- See Also:
- Constant Field Values
-
DATANUMCOLUMNS
public static final int DATANUMCOLUMNS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NetMetricsDataTableModel
public NetMetricsDataTableModel()
-
-
Method Detail
-
getColumnName
public java.lang.String getColumnName(int c)
- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classjavax.swing.table.AbstractTableModel
-
getColumnClass
public java.lang.Class<?> getColumnClass(int r, int c)
-
isCellEditable
public boolean isCellEditable(int r, int c)
- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
- Overrides:
isCellEditable
in classjavax.swing.table.AbstractTableModel
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
getValueAt
public java.lang.Object getValueAt(int r, int c)
-
setValueAt
public void setValueAt(int value, int r, int c)
-
-