Class CMRInetManagerFrame.NodeTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrix.cmri.serial.cmrinetmanager.CMRInetManagerFrame.NodeTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
- Enclosing class:
- CMRInetManagerFrame
public class CMRInetManagerFrame.NodeTableModel extends javax.swing.table.AbstractTableModel
Set up table for displaying bit assignments- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ENABLED_COLUMN
static int
NODEDESC_COLUMN
static int
NODENUM_COLUMN
static int
NODETYPE_COLUMN
static int
NUM_COLUMNS
static int
POLLSEQ_COLUMN
static int
STATUS_COLUMN
-
Constructor Summary
Constructors Constructor Description NodeTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getColumnClass(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(java.lang.Object value, int r, int c)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Field Detail
-
POLLSEQ_COLUMN
public static final int POLLSEQ_COLUMN
- See Also:
- Constant Field Values
-
ENABLED_COLUMN
public static final int ENABLED_COLUMN
- See Also:
- Constant Field Values
-
NODENUM_COLUMN
public static final int NODENUM_COLUMN
- See Also:
- Constant Field Values
-
NODETYPE_COLUMN
public static final int NODETYPE_COLUMN
- See Also:
- Constant Field Values
-
STATUS_COLUMN
public static final int STATUS_COLUMN
- See Also:
- Constant Field Values
-
NODEDESC_COLUMN
public static final int NODEDESC_COLUMN
- See Also:
- Constant Field Values
-
NUM_COLUMNS
public static final int NUM_COLUMNS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NodeTableModel
public NodeTableModel()
-
-
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 c)
- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnClass
in classjavax.swing.table.AbstractTableModel
-
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(java.lang.Object value, int r, int c)
- Specified by:
setValueAt
in interfacejavax.swing.table.TableModel
- Overrides:
setValueAt
in classjavax.swing.table.AbstractTableModel
-
-