Class AssignmentTableModel

  • All Implemented Interfaces:, 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

      Modifier and Type Field Description
      static int BIT_COLUMN  
      static int SYSNAME_COLUMN  
      static int USERNAME_COLUMN  
      • Fields inherited from class javax.swing.table.AbstractTableModel

    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • initTable

        public void initTable​(javax.swing.JTable assignmentTable)
      • getColumnName

        public java.lang.String getColumnName​(int c)
        Specified by:
        getColumnName in interface javax.swing.table.TableModel
        getColumnName in class javax.swing.table.AbstractTableModel
      • getColumnClass

        public java.lang.Class<?> getColumnClass​(int c)
        Specified by:
        getColumnClass in interface javax.swing.table.TableModel
        getColumnClass in class javax.swing.table.AbstractTableModel
      • isCellEditable

        public boolean isCellEditable​(int r,
                                      int c)
        Specified by:
        isCellEditable in interface javax.swing.table.TableModel
        isCellEditable in class javax.swing.table.AbstractTableModel
      • 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 interface javax.swing.table.TableModel
        setValueAt in class javax.swing.table.AbstractTableModel