org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.gui
Class ProbsTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.gui.ProbsTableModel
All Implemented Interfaces:
Serializable, TableModel

public class ProbsTableModel
extends AbstractTableModel

Author:
vipingupta Table Mode to generate table of contribution of various types of sources at various magnitudes
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ProbsTableModel(UCERF2 ucerf2)
           
 
Method Summary
 int getColumnCount()
          Get number of columns
 String getColumnName(int index)
          Get column name
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 
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

ProbsTableModel

public ProbsTableModel(UCERF2 ucerf2)
Method Detail

getColumnCount

public int getColumnCount()
Get number of columns


getColumnName

public String getColumnName(int index)
Get column name

Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)