Class AssignmentTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrix.ieee802154.xbee.swing.nodeconfig.AssignmentTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
public class AssignmentTableModel extends javax.swing.table.AbstractTableModel
Table model for the pin assignment table.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BIT_COLUMN
static int
SYSNAME_COLUMN
static int
USERNAME_COLUMN
-
Constructor Summary
Constructors Constructor Description AssignmentTableModel()
-
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)
void
initTable(javax.swing.JTable assignmentTable)
boolean
isCellEditable(int r, int c)
void
setNode(XBeeNode node)
void
setValueAt(java.lang.Object type, 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
-
BIT_COLUMN
public static final int BIT_COLUMN
- See Also:
- Constant Field Values
-
SYSNAME_COLUMN
public static final int SYSNAME_COLUMN
- See Also:
- Constant Field Values
-
USERNAME_COLUMN
public static final int USERNAME_COLUMN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AssignmentTableModel
public AssignmentTableModel()
-
-
Method Detail
-
initTable
public void initTable(javax.swing.JTable assignmentTable)
-
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 type, int r, int c)
- Specified by:
setValueAt
in interfacejavax.swing.table.TableModel
- Overrides:
setValueAt
in classjavax.swing.table.AbstractTableModel
-
-