Class RosterGroupTableModel

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.table.TableModel

    public class RosterGroupTableModel
    extends javax.swing.table.AbstractTableModel
    Table data model for display of Rosters entries to a specific Roster Group.

    Any desired ordering, etc, is handled outside this class.

    The initial implementation doesn't automatically update when roster entries change, it only allows the setting of a roster entry, to a roster group. Based Upon RosterTableModel

    Since:
    2.7.5
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static int ADDTOGROUPCOL  
      (package private) java.lang.String group  
      (package private) static int IDCOL  
      (package private) static int MFGCOL  
      (package private) static int NUMCOL  
      (package private) static int OWNERCOL  
      (package private) static int ROADNAMECOL  
      (package private) static int ROADNUMBERCOL  
      • Fields inherited from class javax.swing.table.AbstractTableModel

        listenerList
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureTable​(javax.swing.JTable table)  
      void dispose()  
      java.lang.Class<?> getColumnClass​(int col)  
      int getColumnCount()  
      java.lang.String getColumnName​(int col)  
      void getGroupEnabled​(RosterEntry re)  
      int getPreferredWidth​(int col)  
      int getRowCount()  
      java.lang.Object getValueAt​(int row, int col)
      Provides the empty String if attribute doesn't exist.
      boolean isCellEditable​(int row, int col)
      This implementation can't edit the values yet
      void setGroup​(java.lang.String grp)  
      void setValueAt​(java.lang.Object value, int row, int col)  
      • 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