edu.iastate.metnet.model
Class PathwayTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.jgoodies.binding.adapter.TableAdapter
          extended by edu.iastate.metnet.model.PathwayTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class PathwayTableModel
extends com.jgoodies.binding.adapter.TableAdapter

List the basic pathway information for pathway selector, especially the user information and source information.

Author:
Jie Li
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
PathwayTableModel(javax.swing.ListModel listModel)
           
 
Method Summary
 PathwayObject getPathwayObject(int rowIndex)
          get the selected object
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 
Methods inherited from class com.jgoodies.binding.adapter.TableAdapter
createChangeHandler, getColumnCount, getColumnName, getRow, getRowCount
 
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

PathwayTableModel

public PathwayTableModel(javax.swing.ListModel listModel)
Method Detail

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)

getPathwayObject

public PathwayObject getPathwayObject(int rowIndex)
get the selected object

Parameters:
rowIndex - the selected row
Returns:
the selected object