edu.northwestern.at.wordhoard.swing.accounts.groups
Class GroupInspectorPanel.GroupInspectorTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by edu.northwestern.at.wordhoard.swing.accounts.groups.GroupInspectorPanel.GroupInspectorTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Enclosing class:
GroupInspectorPanel

 class GroupInspectorPanel.GroupInspectorTableModel
extends javax.swing.table.AbstractTableModel


Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
GroupInspectorPanel.GroupInspectorTableModel()
           
 
Method Summary
 int getColumnCount()
          Gets the number of columns.
 java.lang.String getColumnName(int col)
          Gets the name of a column.
 int getRowCount()
          Gets the number of rows.
 java.lang.Object getValueAt(int row, int col)
          Gets the value of a cell.
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupInspectorPanel.GroupInspectorTableModel

GroupInspectorPanel.GroupInspectorTableModel()
Method Detail

getRowCount

public int getRowCount()
Gets the number of rows.

Returns:
The number of rows.

getColumnCount

public int getColumnCount()
Gets the number of columns.

Returns:
The number of columns.

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
Gets the value of a cell.

Parameters:
row - Row index.
col - Column index.
Returns:
Value of cell.

getColumnName

public java.lang.String getColumnName(int col)
Gets the name of a column.

Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel
Parameters:
col - Column index.
Returns:
Name of column.